build: Use ACLTX_TEXMF_PATH for installation.
[mdwtools] / configure.in
index 172c82d..ca080bd 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
@@ -25,33 +23,9 @@ 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)
+ACLTX_TEXMF_PATH
 AC_OUTPUT(Makefile)
 
 dnl ----- That's all, folks -------------------------------------------------