Hi,
I looked at autoreconf and it doesn't pass the dirs of the -I flag on to
aclocal. The only way for aclocal to get the dirs for -I and --ac-dir
(which, ok, is not for external usage) is by matching
ACLOCAL_[A-Z_]*FLAGS\s*=\s*(.*) in a Makefile.
Assuming this is intentional, perhaps the autoreconf documentation can
be patched as I attached. This saves the developer that doesn't want to
run aclocal explicitly from having to dig through autoreconf and also
autoconf.info and automake.info.
Cheers,
Chris
--- autoconf.texi 20 Mar 2006 14:46:12 -0000 1.969
+++ autoconf.texi 20 Mar 2006 19:05:12 -0000
@@ -1540,10 +1540,12 @@
@item --include=@var{dir}
@itemx -I @var{dir}
Append @var{dir} to the include path. Multiple invocations accumulate.
+Passed on to @command{autoconf} and @command{autoheader} internally.
@item --prepend-include=@var{dir}
@item -B @var{dir}
Prepend @var{dir} to the include path. Multiple invocations accumulate.
+Passed on to @command{autoconf} and @command{autoheader} internally.
@item --warnings=@var{category}
@itemx -W @var{category}
@@ -1586,6 +1588,8 @@
none,obsolete}.
@end table
+If you want @command{autoreconf} to pass flags that are not listed here
+on to @command{aclocal}, set @code{ACLOCAL_AMFLAGS} in your Makefile.am.
@c ========================================= Initialization and Output Files.
_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf