On Sun, Mar 17, 2002 at 07:54:33PM -0000, Stephano Mariani wrote: > I don't use C++, but it works for CFLAGS... try without the AM_ prefix > ie libfoo_la_CFLAGS = ... and make sure that you use automake > --add-missing (I'm not sure what the option is called, but it causes a > script called 'compile' to be added). > > > -----Original Message----- > > On Sun, Mar 17, 2002 at 06:33:44PM -0000, Stephano Mariani wrote: > > > lib_LTLIBRARIES = libfoo.la libfoo_r.la > > > > > > libfoo_r_la_AM_CXXFLAGS = -D_REENTRANT > > > libfoo_r_la_SOURCES = foo.cxx > > > > > > libfoo_la_AM_CXXFLAGS = # Something > > > libfoo_la_SOURCES = foo.cxx
For archival purposes: libfoo_r_la_CXXFLAGS = -D_REENTRANT without the AM_ works. You need at least automake 1.5. Thanks for the help! -- Carlo Wood <[EMAIL PROTECTED]> PS The 'compile' isn't needed, it is just for compilers that do not support -o and -c together but I only support/use gcc anyway, which does support that.