bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: trouble with aclocal


From: Bruno Haible
Subject: Re: trouble with aclocal
Date: Tue, 19 Jul 2011 02:27:03 +0200
User-agent: KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; )

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>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]