bug-autoconf
[Top][All Lists]
Advanced

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

Re: need to set ACLOCAL_AMFLAGS along with AC_CONFIG_MACRO_DIR


From: Eric Blake
Subject: Re: need to set ACLOCAL_AMFLAGS along with AC_CONFIG_MACRO_DIR
Date: Tue, 25 Mar 2008 20:51:00 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Chris Pickett on 3/21/2008 2:01 PM:
| Hi Chris, and adding bug-automake,

Hi again (and replies can drop all but autoconf-patches),

| Thanks for the report.  However, I'm not sure how best to proceed -
| ACLOCAL_AMFLAGS is Automake's domain, not Autoconf's.

|> Note that there is something of a precedent:
|
|> "If you want @command{autoreconf} to pass flags that are not listed here
|> on to @command{aclocal}, set @code{ACLOCAL_AMFLAGS} in your
|> @file{Makefile.am}."

Point taken.  I'm applying the attached patch.

|
|> and now I remember I was responsible for that too:
|
|> http://lists.gnu.org/archive/html/autoconf/2006-03/msg00073.html

But we failed to list you in THANKS back then :)

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkfpuhQACgkQ84KuGfSFAYAcZACeNXHcBfkJgvVi9YSL3nQo3pvE
vvMAoLLt9HY3brV0r/e/2K4bTpIG5tin
=/eF/
-----END PGP SIGNATURE-----
>From b372ecfa1096dea200cf7f47b97c61f746b15da3 Mon Sep 17 00:00:00 2001
From: Eric Blake <address@hidden>
Date: Tue, 25 Mar 2008 20:50:05 -0600
Subject: [PATCH] Document Automake interaction with AC_CONFIG_MACRO_DIR.

* doc/autoconf.texi (Input): Mention ACLOCAL_AMFLAGS for automake
users.
* THANKS: Update.
Reported by Chris Pickett.

Signed-off-by: Eric Blake <address@hidden>
---
 ChangeLog         |    8 ++++++++
 doc/autoconf.texi |    7 +++++++
 2 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 4ec5b15..0aab398 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2008-03-26  Eric Blake  <address@hidden>
+
+       Document Automake interaction with AC_CONFIG_MACRO_DIR.
+       * doc/autoconf.texi (Input): Mention ACLOCAL_AMFLAGS for automake
+       users.
+       * THANKS: Update.
+       Reported by Chris Pickett.
+
 2008-03-25  Ralf Wildenhues  <address@hidden>
 
        * tests/autotest.at (Using atlocal): Quote instances of `pwd`.
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index a32e779..17b9045 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -1971,6 +1971,13 @@ This macro is intended for use by future versions of 
commands like
 @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 if you use @command{aclocal} from Automake to generate
address@hidden, you must also set @code{ACLOCAL_AMFLAGS = -I
address@hidden in your top-level @file{Makefile.am}.  Due to a limitation in
+the Autoconf implementation of @command{autoreconf}, these include
+directives currently must be set on a single line in @file{Makefile.am},
+without any backslash-newlines.
 @end defmac
 
 
-- 
1.5.4


reply via email to

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