dnl -*-fundamental-*-
dnl
-dnl $Id: configure.in,v 1.11 2003/04/05 09:12:13 mdw Exp $
+dnl $Id: configure.in,v 1.12 2003/09/24 22:45:57 mdw Exp $
dnl
dnl Configuring the Common Files Distribution
dnl
dnl----- Revision history ---------------------------------------------------
dnl
dnl $Log: configure.in,v $
+dnl Revision 1.12 2003/09/24 22:45:57 mdw
+dnl Support Automake's `aclocal' scheme. Deposit Autoconf fragments in
+dnl `aclocal's' repository. Apply heinous bodging to `txtlib' and
+dnl `mkaclocal'.
+dnl
dnl Revision 1.11 2003/04/05 09:12:13 mdw
dnl Tool for installing manpages.
dnl
AC_INIT(mklinks.in)
AM_INIT_AUTOMAKE(common, 1.2.9)
+AC_CACHE_CHECK([where to stash Autoconf macros], [aclocaldir], [
+ aclocaldir=`aclocal --print-ac-dir`
+ if test $? -ne 0; then AC_MSG_ERROR([aclocal not installed]); fi
+])
+AC_SUBST(aclocaldir)
AC_OUTPUT(Makefile mklinks findlinks txtlib mkaclocal)