-
-AC_ARG_WITH([texmfdir],
-[ --with-texmfdir=DIR set the TeX install directory to DIR],
-[texmfdir=$witharg],
-[AC_MSG_CHECKING([where to put installed TeX files])
-mdw_DEFINE_PATHS([
-texmfdir='${datadir}/texmf'
-for d in \
- '${datadir}/texmf' '${libdir}/texmf' '${prefix}/lib/texmf' \
- '${prefix}/texmf'; do
- if test -d "mdw_PATH([$d])"; then
- texmfdir=$d
- break
- fi
-done
-AC_MSG_RESULT([$texmfdir])])])
-AC_SUBST(texmfdir)
-