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

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

 



* 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


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux