[PATCH 1/5] build: use AC_CONFIG_MACRO_DIR as per libtoolize warning

Dan Nicholson dbn.lists at gmail.com
Mon Nov 29 06:02:03 PST 2010


On Sun, Nov 28, 2010 at 1:39 PM, Gaetan Nadon <memsize at videotron.ca> wrote:
> On Sun, 2010-11-28 at 21:26 +0100, Jan Engelhardt wrote:
>
> On Sunday 2010-11-28 19:45, Gaetan Nadon wrote:
>
>>On Sun, 2010-11-28 at 15:46 +0100, Jan Engelhardt wrote:
>>      +ACLOCAL_AMFLAGS = -I m4
>>
>>This will fail if m4 does not exist at clone time.
>>It won't because there is a .gotognore file in there.
>>However, it will be suggested later to use the same
>>toplevel .gitignore file that is used in all other 240 xorg modules.
>
> Then perhaps you need to update the master xorg .gitignore, because the
> suggestion to use ACLOACL_AMFLAGS will appear on any project with a
> libtool library.
>
> The suggestion to use ACLOCAL_AMFLAGS come from the Autoconf tools.
> I looked at the warnings and the output of autoupdate and autoscan and there
> are plenty of warnings that do not apply.

Pretty sure it's coming from libtoolize :)

libtoolize: Consider adding "AC_CONFIG_MACRO_DIR([m4])" to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding "-I m4" to ACLOCAL_AMFLAGS in Makefile.am.

It's suggesting that you add AC_CONFIG_MACRO_DIR([m4]) so that it will
helpfully install it's m4 files there and attempt to make them
persistent. Jeremy Huddleston asked not to do this a while back
because it's then harder to replace the included libtool with the
patched version on OSX. Not sure if this is still a problem, but there
are definitely pros and cons to distributing the libtool macros in the
tree.

--
Dan



More information about the xorg mailing list