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: Fri, 21 Mar 2008 13:40:56 -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 10:58 AM:
| Hi,

Hi Chris, and adding bug-automake,

|
| I had AC_CONFIG_MACRO_DIR([m4]) in configure.ac and a macro from the
| archive in m4/ that wasn't getting m4_include'd at the end of aclocal.m4
| after I ran autoreconf.  Bizarrely, it was working on a different
| project.  I finally realized that I had ACLOCAL_AMFLAGS = -I m4 in one
| case but not the other.
|
| Please consider (some variant of) the attached documentation patch.

Thanks for the report.  However, I'm not sure how best to proceed -
ACLOCAL_AMFLAGS is Automake's domain, not Autoconf's.  But since
autoreconf (from Autoconf) runs aclocal (from Automake), anyone who is
using both autotools together is liable to get confused when they don't
see eye-to-eye on which directories to look for .m4 files in.  And there
are several other places where the autoconf manual caters to the common
(but certainly not universal) usage pattern of using Automake.

I'll probably end up installing this or something like it in the autoconf
manual next week, after I think on it some more (or after others chime in
with opinions).

- --
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

iEYEARECAAYFAkfkD0gACgkQ84KuGfSFAYCglQCfXHqwMxLfZM/hCfLkYCPH1Gra
mf0AoJfaF6/11S4jSukDGiI/c6MUs7a1
=m5q5
-----END PGP SIGNATURE-----




reply via email to

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