[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
need to set ACLOCAL_AMFLAGS along with AC_CONFIG_MACRO_DIR
From: |
Chris Pickett |
Subject: |
need to set ACLOCAL_AMFLAGS along with AC_CONFIG_MACRO_DIR |
Date: |
Fri, 21 Mar 2008 12:58:21 -0400 |
User-agent: |
Thunderbird 1.5.0.14 (Macintosh/20071210) |
Hi,
I had AC_CONFIG_MACRO_DIR([m4]) in configure.ac and a macro from the
archive in m4/ that wasn't getting m4_include'd at the end of aclocal.m4
after I ran autoreconf. Bizarrely, it was working on a different
project. I finally realized that I had ACLOCAL_AMFLAGS = -I m4 in one
case but not the other.
Please consider (some variant of) the attached documentation patch.
Cheers,
Chris
--- autoconf.texi 2008-03-21 12:49:16.000000000 -0400
+++ autoconf.new.texi 2008-03-21 12:49:06.000000000 -0400
@@ -1906,6 +1906,10 @@
@command{autoreconf} that trace macro calls. It should be called
directly from @file{configure.ac} so that tools that install macros for
@command{aclocal} can find the macros' declarations.
+
+Note that presently, in order for these macros to be found, you must
+also set @code{ACLOCAL_AMFLAGS = -I dir} in your top-level
address@hidden
@end defmac
- need to set ACLOCAL_AMFLAGS along with AC_CONFIG_MACRO_DIR,
Chris Pickett <=