autoconf
[Top][All Lists]
Advanced

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

Re: problem with CFLAGS


From: Paul Eggert
Subject: Re: problem with CFLAGS
Date: Sun, 21 Oct 2001 15:43:30 -0700 (PDT)

> From: Wayne Davis <address@hidden>
> Date: 21 Oct 2001 18:32:11 -0400
> 
> I'm not sure what to call so that CFLAGS contains system default paths,
> such as /usr/include.  How do I make sure CFLAGS contains the defaults?

The right place for -I options is CPPFLAGS, not CFLAGS.
AC_PROG_CPP and AC_PROG_CC both arrange to have CPPFLAGS propagated.

However, normally you don't want CPPFLAGS to contain -I/usr/include,
since this breaks on many systems where GCC wraps system include
files, e.g. GCC on Solaris.



reply via email to

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