Insert correct checksums.
[mdwtools] / configure.in
CommitLineData
86f6a31e 1dnl -*-fundamental-*-
2dnl
3dnl $Id: configure.in,v 1.1 2002/02/03 20:49:03 mdw Exp $
4dnl
5dnl Configuration script for mdwtools
6dnl
7dnl (c) 2002 Mark Wooding
8dnl
9
10dnl ----- Licensing notice --------------------------------------------------
11dnl
12dnl This file is part of the mdwtools LaTeX package collection.
13dnl
14dnl mdwtools is free software; you can redistribute it and/or modify
15dnl it under the terms of the GNU General Public License as published by
16dnl the Free Software Foundation; either version 2 of the License, or
17dnl (at your option) any later version.
18dnl
19dnl mdwtools is distributed in the hope that it will be useful,
20dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
21dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22dnl GNU General Public License for more details.
23dnl
24dnl You should have received a copy of the GNU General Public License
25dnl along with mdwtools; if not, write to the Free Software Foundation,
26dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
27
28dnl ----- Revision history --------------------------------------------------
29dnl
30dnl $Log: configure.in,v $
31dnl Revision 1.1 2002/02/03 20:49:03 mdw
32dnl Checkin for new build system.
33dnl
34
35AC_INIT(mdwtools.ins)
36AM_INIT_AUTOMAKE(mdwtools, 1.6.0)
37
38AC_ARG_WITH([texmfdir],
39[ --with-texmfdir=DIR set the TeX install directory to DIR],
40[texmfdir=$witharg],
41[AC_MSG_CHECKING([where to put installed TeX files])
42mdw_DEFINE_PATHS([
43texmfdir='${datadir}/texmf'
44for d in \
45 '${datadir}/texmf' '${libdir}/texmf' '${prefix}/lib/texmf' \
46 '${prefix}/texmf'; do
47 if test -d "mdw_PATH([$d])"; then
48 texmfdir=$d
49 break
50 fi
51done
52AC_MSG_RESULT([$texmfdir])])])
53AC_SUBST(texmfdir)
54
55AC_OUTPUT(Makefile)
56
57dnl ----- That's all, folks -------------------------------------------------