autoconf
[Top][All Lists]
Advanced

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

Re: AC_CHECK_HEADER won't use updates to CFLAGS/CPPFLAGS


From: Ralf Wildenhues
Subject: Re: AC_CHECK_HEADER won't use updates to CFLAGS/CPPFLAGS
Date: Thu, 14 Aug 2008 09:09:17 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

* Rhys Ulerich wrote on Thu, Aug 14, 2008 at 06:30:50AM CEST:
> 
> How many chickens must I sacrifice for AC_CHECK_HEADER to notice that I've
> modified CFLAGS/CPPFLAGS within my configure script?

Please show your full configure.ac script, or, even better, a reduced
one that still exposes this issue.

Since AC_CHECK_HEADER apparently invokes g++, it seems you have an
AC_LANG([C++]) somewhere, thus CFLAGS won't be used in favor of
CXXFLAGS.  However, CPPFLAGS should still be used.

Cheers,
Ralf




reply via email to

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