autoconf
[Top][All Lists]
Advanced

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

Re: AC_SEARCH_LIBS without LIBS


From: Russ Allbery
Subject: Re: AC_SEARCH_LIBS without LIBS
Date: Fri, 16 May 2014 11:27:18 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Peter Johansson <address@hidden> writes:
> On 17/05/14 01:47, NightStrike wrote:

>> This is an issue if you need to check for the existence of a library,
>> but only use it in a subset of all of your things being compiled.

>> Is this considered a bug in AC_SEARCH_LIBS, or is there a workaround
>> I'm missing?

> Occasionally I've used the pattern

> save_LIBS=$LIBS
> AC_SEARCH_LIBS([...
> LIBS=$save_LIBS

Likewise.  I do this a lot.

-- 
Russ Allbery (address@hidden)              <http://www.eyrie.org/~eagle/>



reply via email to

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