On Mon, Dec 10, 2001 at 07:08:30AM -0500, Jeff Trawick wrote:
> Sascha Schumann <[EMAIL PROTECTED]> writes:
> 
> > On Mon, 10 Dec 2001, Greg Stein wrote:
> > 
> > > I don't understand why an include doesn't go onto the INCLUDES variable. Why
> > > the shift?
> > 
> >     I suppose that the include directive is immediately needed
> >     for an autoconf cpp check.  Autoconf calls the preprocessor
> >     with CPPFLAGS, not INCLUDES, and thus it is correct to add
> >     the include directive to the former variable.
> 
> on the nose!  autodetection was failing...
> 
> Greg?  I guess it is preferable to keep it in CPPFLAGS only
> temporarily (for the test) and put it in INCLUDES once we find that it
> works? 

Yes, unless it is required for later tests.  Macros need to save and restore
any global make variables to avoid polluting later tests.

....Roy

Reply via email to