[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: autoreconf 2.54 does not pass -I command line argument to aclocal
From: |
Akim Demaille |
Subject: |
Re: autoreconf 2.54 does not pass -I command line argument to aclocal |
Date: |
18 Sep 2002 09:02:27 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter) |
| If the Makefile.am contains a line of the flavor ACLOCAL_AMFLAGS - one
| can specify the location of the m4 subdir with -I m4, etc.
|
| Autoreconf allows one to specify the -I option - but it is not passed to
| aclocal. The following patch does just that...
|
| Index: autoreconf.in
| ===================================================================
| RCS file: /cvsroot/autoconf/autoconf/bin/autoreconf.in,v
| retrieving revision 1.103
| diff -c -r1.103 autoreconf.in
| *** autoreconf.in 13 Sep 2002 06:59:56 -0000 1.103
| --- autoreconf.in 17 Sep 2002 22:56:59 -0000
| ***************
| *** 152,157 ****
| --- 152,158 ----
| $autoconf .= join (' --prepend-include=', '', @prepend_include);
| $autoheader .= join (' --include=', '', @include);
| $autoheader .= join (' --prepend-include=', '', @prepend_include);
| + $aclocal .= join (' -I ', '', @include);
|
| # --install and --symlink;
| if ($install)
Hi,
I don't understand your report. autoreconf looks for ACLOCAL_AMFLAGS
and does pass that to aclocal. Passing autoreconf's -I to aclocal is
wrong: same syntax, agreed, but different semantics.