> From: Wayne Davis <[EMAIL PROTECTED]> > 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.
