[boehm-gc] Cleanup aclocal.m4 generation [2/2]

Alexandre Oliva aoliva@redhat.com
Tue Sep 28 19:09:00 GMT 2004


On Sep 27, 2004, Kelley Cook <kcook@gcc.gnu.org> wrote:

> This patch adds in an ACLOCAL_AMFLAGS to boehm-gc's Makefile.am.

> This then allows you to get rid of all sincludes in configure.ac and
> acinclude.m4.

Until someone goes and installs some .m4 file in the default aclocal
search path with the same name as what we have in the GCC tree.  Then
aclocal reports a conflict and stops.  This used to be the reason why
I recommended very strongly sinclude to be used over -I.  If this
changed in current aclocal, the change is safe, although it's still a
bit inconvenient to have to rerun aclocal to bring changes from .. or
../config into aclocal.m4, and then rebuild configure.  The m4 files
are already part of our source tree, so we might as well include them
instead of collecting copies of it all over the place, which only
increases the risk that someone will edit the copy without realizing
aclocal.m4 is generated by aclocal.

-- 
Alexandre Oliva             http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}



More information about the Gcc-patches mailing list