chiark / gitweb /
m4/mdw-dir-texmf.m4: Nest and indent `mdw_DEFINE_PATHS' properly.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 9 Aug 2020 12:16:53 +0000 (13:16 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 9 Aug 2020 12:27:48 +0000 (13:27 +0100)
Not sure why this enclosed the `AC_MSG_RESULT' before.  Oh, well.

m4/mdw-dir-texmf.m4

index 9406273e162eb7d2860d760cf89df10ccc6ae974..ff9314c5c1ad5fdebcd666adb183965c2768803b 100644 (file)
@@ -58,16 +58,16 @@ case $texmfdir in
   guess)
     AC_MSG_CHECKING([where to put installed TeX files])
     mdw_DEFINE_PATHS([
-    texmfdir='${datadir}/texmf'
-    for d in \
-      '${datadir}/texmf' '${prefix}/lib/texmf' \
-      '${prefix}/texmf' '${libdir}/lib/texmf'; do
-      if test -d "mdw_PATH([$d])"; then
-       texmfdir=$d
-       break
-      fi
-    done
-    AC_MSG_RESULT([$texmfdir])])
+      texmfdir='${datadir}/texmf'
+      for d in \
+       '${datadir}/texmf' '${prefix}/lib/texmf' \
+       '${prefix}/texmf' '${libdir}/lib/texmf'; do
+       if test -d "mdw_PATH([$d])"; then
+         texmfdir=$d
+         break
+       fi
+      done])
+    AC_MSG_RESULT([$texmfdir])
     ;;
 esac
 AC_SUBST(texmfdir)])