CPPFLAGS is used by both C and C++.

You can override the build rules that Automake inserts by doing a cut-and-past of selected rules from an Automake-generated Makefile and placing them in your Makefile.am file. You can modify your custom version of the build rule to use an extra variable which is initialized via the configure script (or hard-coded).

Bob

On Thu, 1 Jul 2004, Rorik Peterson wrote:

I'm trying to configure a package with both C and C++ sources. How do I set C++ preprocessor directives that will not be used by the c compiler also (so I cannot set CPPFLAGS). Is there a CXXCPPFLAGS variable?

rorik



_______________________________________________
Autoconf mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/autoconf


====================================== Bob Friesenhahn [EMAIL PROTECTED] http://www.simplesystems.org/users/bfriesen


_______________________________________________ Autoconf mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to