X-Git-Url: https://git.distorted.org.uk/~mdw/runlisp/blobdiff_plain/195ca0c9e52e2c10b7fa0db5981046eea2cde83d..d663db3ac19da1c2cd49406d53761edac2813114:/m4/mdw-dir-texmf.m4 diff --git a/m4/mdw-dir-texmf.m4 b/m4/mdw-dir-texmf.m4 index ff9314c..1d9f60a 100644 --- a/m4/mdw-dir-texmf.m4 +++ b/m4/mdw-dir-texmf.m4 @@ -49,11 +49,12 @@ dnl -*-autoconf-*- ### exception to the GPL to apply to your modified version as well. # serial 1 -AC_DEFUN([mdw_DIR_TEXMF],[ -AC_ARG_WITH([texmfdir], -[AS_HELP_STRING([--with-texmfdir=DIR], - [set the TeX install directory to DIR])], -[texmfdir=$withval], [texmfdir=guess]) +AC_DEFUN([mdw_DIR_TEXMF], +[AC_ARG_WITH([texmfdir], + [AS_HELP_STRING([--with-texmfdir=DIR], + [set the TeX install directory to DIR])], + [texmfdir=$withval], + [texmfdir=guess]) case $texmfdir in guess) AC_MSG_CHECKING([where to put installed TeX files]) @@ -61,11 +62,9 @@ case $texmfdir in 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 + '${prefix}/texmf' '${libdir}/lib/texmf' + do + if test -d "mdw_PATH([$d])"; then texmfdir=$d; break; fi done]) AC_MSG_RESULT([$texmfdir]) ;;