Paul Eggert wrote: > Give the problems with the way aclocal works, some sort of > hack seems inevitable. The application writer must have a > way of controlling which gnulib modules is being used. > > I suppose another possible hack is to replace the ifdef with > something like m4_ifdef([gl_[]THREADLIB], ...)
Yes, it sounds like if the original code m4_ifdef([gl_THREADLIB], [ AC_REQUIRE([gl_THREADLIB]) had been written as m4_ifdef([gl_THRE[]ADLIB], [ AC_REQUIRE([gl_THRE[]ADLIB]) then 'aclocal' would not have pulled in /usr/share/aclocal/threadlib.m4 that was installed there by 'gettext'. Bruno -- In memoriam Jane Haining <http://en.wikipedia.org/wiki/Jane_Haining> <http://www.shoah.dk/Courage/Haining.htm>