This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Alexandre Oliva <aoliva@redhat.com> writes:

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

This strikes me as a strong argument for having aclocal.m4 files which
consist entirely of m4_include directives for files over in ../config,
and which are *not* generated by aclocal, at least not via makefile
rules.

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]