autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fwd: autoreconf and aclocal options (-I, --ac-dir)]


From: Chris Pickett
Subject: [Fwd: autoreconf and aclocal options (-I, --ac-dir)]
Date: Fri, 31 Mar 2006 23:25:27 -0500
User-agent: Debian Thunderbird 1.0.7 (X11/20051017)

I'm resending this to autoconf-patches for consideration in the alpha release. Please CC me, I am not subscribed. I didn't sign anything with the FSF but since it's so utterly trivial you can either reword it, or take it from me public domain, if you decide it's worth applying.

I should also add that I have to run autoreconf twice if ACLOCAL_AMFLAGS is used to specify the location of the macro dir, but I didn't try with the CVS autoconf.

Chris

-------- Original Message --------
Subject: autoreconf and aclocal options (-I, --ac-dir)
Date: Mon, 20 Mar 2006 14:29:59 -0500
From: Chris Pickett <address@hidden>
Reply-To: address@hidden
To: address@hidden

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.
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]