On 16 Sep 2010, at 03:11, Eric Blake wrote: > At any rate, it seems like maintaining ACLOCAL_AMFLAGS in Makefile.am is > redundant - how hard is it to teach automake to have aclocal _automatically_ > include directories mentioned inside AC_CONFIG_MACRO_DIR, to avoid the dual > file maintenance headache?
I have proposed this a couple of times over the years, and would have submitted a patch long ago if I hated perl less ;o) To avoid any surprises, I think the trick is to simply have autoreconf fall back to reading AC_CONFIG_MACRO_DIR where there is no conflicting ACLOCAL_AMFLAGS in Makefile.am. Libtoolize users will have fewer issues here though, because libtoolize already complains about conflicts between AC_CONFIG_MACRO_DIR and ACLOCAL_AMFLAGS. Cheers, -- Gary V. Vaughan (g...@gnu.org)
PGP.sig
Description: This is a digitally signed message part