autoconf
[Top][All Lists]
Advanced

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

Re: Problem with tests for GSL


From: Laurence Finston
Subject: Re: Problem with tests for GSL
Date: Mon, 29 Oct 2007 20:03:14 +0100 (CET)

On Mon, 29 Oct 2007, Benoit SIGOURE wrote:

> You can change the relevant flags before the invocation of the compiler and
> restore them afterwards.  The typical idiom is this:
> 
> saved_CFLAGS=$CFLAGS
> CFLAGS="$CFLAGS -my-new-flag"
> AC_TRY_LINK(...)
> # now you know whether -my-new-flag works and you can take the appropriate
> action
> CFLAGS=$saved_CFLAGS
> 

Great!  Thank you very much.  That's something I can try right away.

Laurence




reply via email to

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