dnl -*-fundamental-*- dnl dnl $Id: configure.in,v 1.1 2002/02/03 20:49:03 mdw Exp $ dnl dnl Configuration script for mdwtools dnl dnl (c) 2002 Mark Wooding dnl dnl ----- Licensing notice -------------------------------------------------- dnl dnl This file is part of the mdwtools LaTeX package collection. dnl 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 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 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) AC_OUTPUT(Makefile) dnl ----- That's all, folks -------------------------------------------------