Whitespace cleanup.
[mdwtools] / configure.in
index 172c82d..b81918f 100644 (file)
@@ -1,6 +1,4 @@
-dnl -*-fundamental-*-
-dnl
-dnl $Id: configure.in,v 1.1 2002/02/03 20:49:03 mdw Exp $
+dnl -*-autoconf-*-
 dnl
 dnl Configuration script for mdwtools
 dnl
@@ -15,43 +13,19 @@ dnl mdwtools is free software; you can redistribute it and/or modify
 dnl it under the terms of the GNU General Public License as published by
 dnl the Free Software Foundation; either version 2 of the License, or
 dnl (at your option) any later version.
-dnl 
+dnl
 dnl mdwtools is distributed in the hope that it will be useful,
 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 dnl GNU General Public License for more details.
-dnl 
+dnl
 dnl You should have received a copy of the GNU General Public License
 dnl along with mdwtools; if not, write to the Free Software Foundation,
 dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-dnl ----- Revision history --------------------------------------------------
-dnl
-dnl $Log: configure.in,v $
-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)
-
+AM_INIT_AUTOMAKE(mdwtools, 1.7.0)
+AX_LATEX_TEXMF_PATH
 AC_OUTPUT(Makefile)
 
 dnl ----- That's all, folks -------------------------------------------------