Karim Belabas on Tue, 08 Nov 2005 20:17:29 +0100


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

Re: Configure bug when CPPFLAGS is set


* Vincent Lefevre [2005-11-02 10:07]:
> On 2005-10-31 01:54:27 +0100, Vincent Lefevre wrote:
> > I think that Pari's Configure script should take into account
> > $C_INCLUDE_PATH, and should take an argument --with-includedir=DIR
> > that the user (or a program) should use if he uses a -I flag in
> > $CFLAGS or $CPPFLAGS.
> 
> I propose the attached patch concerning $C_INCLUDE_PATH. If users
> add the directories given as -I flags to this environment variable,
> this should work. This solves the problem here.

This looks fine. I have documented in INSTALL that we now use C_INCLUDE_PATH
and committed the whole thing to CVS.

Thanks for your patch !

    Karim.
-- 
Karim Belabas                  Tel: (+33) (0)5 40 00 26 17
Universite Bordeaux 1          Fax: (+33) (0)5 40 00 69 50
351, cours de la Liberation    http://www.math.u-bordeaux.fr/~belabas/
F-33405 Talence (France)       http://pari.math.u-bordeaux.fr/  [PARI/GP]