[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compile order of LDFLAGS and LIBS
From: |
Bob Friesenhahn |
Subject: |
Re: compile order of LDFLAGS and LIBS |
Date: |
Wed, 21 Jan 2004 13:03:28 -0600 (CST) |
On Wed, 21 Jan 2004, Brian White wrote:
>
> The scripts generated by "autoconf" will make use of any existing LIBS
> environment variable in much the same way as CFLAGS and LDFLAGS are used.
> When doing tests for libraries, the lib being tested is prefixed to that
> variable and the test made.
>
> However, the value of the LIBS envionment variable is not saved in the
> "config.status" file to be used again when "./config.status --recheck"
> is run. Thus, it is possible to have it configure correctly the first
> time but not when it is re-checked.
Is this also true if LIBS is specified on configure's command line
rather than as an environment variable? It seems to me that
config.status should save the entire configure command line.
Bob
======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen
Re: compile order of LDFLAGS and LIBS, Ralf Corsepius, 2004/01/22