[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Request for review: glpk
- From: Ralf Corsepius <rc040203 freenet de>
- To: Discussion related to Fedora Extras <fedora-extras-list redhat com>
- Subject: Re: Request for review: glpk
- Date: Tue, 02 Aug 2005 09:02:15 +0200
On Mon, 2005-08-01 at 12:55 -0500, Quentin Spencer wrote:
> Ralf Corsepius wrote:
>
> >On Mon, 2005-08-01 at 12:20 -0500, Tom 'spot' Callaway wrote:
> >
> >
> >>On Mon, 2005-08-01 at 11:41 -0500, Quentin Spencer wrote:
> >If octave's configure script is properly written
> >CPPFLAGS=-I/usr/include/glpk ./configure
> >should work out of the box.
> >
> >
>
> Unfortunately, it doesn't work, as illustrated by the following excerpt
> from config.log:
> configure:8588: checking glpk.h usability
> configure:8600: gcc -c -I/usr/include/glpk conftest.c >&5
> <snip>
> configure:8633: checking glpk.h presence
> configure:8643: gcc -E conftest.c
>
> For some reason, the second check throws out the flags that I passed in.
> I have to admit I don't know much about autotools.
> Is this normal in a configure script?
No, conversely, configure scripts are supposed to accept several flags
such as CPPFLAGS, CFLAGS, CXXFLAGS, LDFLAGS etc. and are not supposed to
override them, but ... I have seen better configure scripts than
octave's ;)
Ralf
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]