On Mon, 22 Nov 2004, Aaron W. LaFramboise wrote:
If I'd like all of the files in a particular subdirectory to be compiled with -Isome/path, for instance, how do I arrange for this? AM_CPPFLAGS does not seem to be automatically propagated.
Use AC_SUBST to perform substitutions. Automake will add some code to convert each subsitution into a make variable with the same name.
So if your configure.ac includes
AC_SUBST(FOO)
then you could put this in any Makefile.am:
AM_CPPFLAGS=$(FOO).
Bob ====================================== Bob Friesenhahn [EMAIL PROTECTED] http://www.simplesystems.org/users/bfriesen