Bruno Haible <[email protected]> writes: > If you compare the generated aclocal.m4 file in the buggy situation and in > the working situation, you will see this difference: > > $ diff -u gss/aclocal.m4 gss1/aclocal.m4 > --- gss/aclocal.m4 2011-03-31 18:10:38.000000000 +0200 > +++ gss1/aclocal.m4 2011-03-31 18:05:06.000000000 +0200 > @@ -991,6 +991,7 @@ > m4_include([lib/gl/m4/stddef_h.m4]) > m4_include([lib/gl/m4/string_h.m4]) > m4_include([lib/gl/m4/strverscmp.m4]) > +m4_include([lib/gl/m4/warn-on-use.m4]) > m4_include([gl/m4/00gnulib.m4]) > m4_include([gl/m4/autobuild.m4]) > m4_include([gl/m4/gnulib-common.m4]) > > In other words, 'aclocal' had decided to not include warn-on-use.m4 > because it found the gl_WARN_ON_USE_PREPARE macro already defined in > gnulib-common.m4. > > The fix is to hide this definition from 'aclocal'. I'm applying this fix. > Not pretty, but it works.
Thanks -- I wasn't aware that aclocal only did a heuristic search for definitions. /Simon
