Use standard TeX directory-finding macro.
authormdw <mdw>
Tue, 19 Feb 2002 22:49:30 +0000 (22:49 +0000)
committermdw <mdw>
Tue, 19 Feb 2002 22:49:30 +0000 (22:49 +0000)
configure.in

index 172c82d..a310684 100644 (file)
@@ -1,6 +1,6 @@
 dnl -*-fundamental-*-
 dnl
-dnl $Id: configure.in,v 1.1 2002/02/03 20:49:03 mdw Exp $
+dnl $Id: configure.in,v 1.2 2002/02/19 22:49:30 mdw Exp $
 dnl
 dnl Configuration script for mdwtools
 dnl
@@ -28,30 +28,16 @@ dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 dnl ----- Revision history --------------------------------------------------
 dnl
 dnl $Log: configure.in,v $
+dnl Revision 1.2  2002/02/19 22:49:30  mdw
+dnl Use standard TeX directory-finding macro.
+dnl
 dnl Revision 1.1  2002/02/03 20:49:03  mdw
 dnl Checkin for new build system.
 dnl
 
 AC_INIT(mdwtools.ins)
 AM_INIT_AUTOMAKE(mdwtools, 1.6.0)
-
-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)
-
+mdw_DIR_TEXMF
 AC_OUTPUT(Makefile)
 
 dnl ----- That's all, folks -------------------------------------------------