Support Automake's `aclocal' scheme. Deposit Autoconf fragments in
[cfd] / configure.in
index 48ecad2..1c8ca0a 100644 (file)
@@ -1,6 +1,6 @@
 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
@@ -28,6 +28,11 @@ dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 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
@@ -43,4 +48,9 @@ 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)