[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
autoreconf and aclocal options (-I, --ac-dir)
From: |
Chris Pickett |
Subject: |
autoreconf and aclocal options (-I, --ac-dir) |
Date: |
Mon, 20 Mar 2006 14:29:59 -0500 |
User-agent: |
Debian Thunderbird 1.0.7 (X11/20051017) |
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 address@hidden
@itemx -I @var{dir}
Append @var{dir} to the include path. Multiple invocations accumulate.
+Passed on to @command{autoconf} and @command{autoheader} internally.
@item address@hidden
@item -B @var{dir}
Prepend @var{dir} to the include path. Multiple invocations accumulate.
+Passed on to @command{autoconf} and @command{autoheader} internally.
@item address@hidden
@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.
- autoreconf and aclocal options (-I, --ac-dir),
Chris Pickett <=