Currently Automake Makefiles include text like: LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CXXFLAGS) $(CXXFLAGS)
Notice that there is no means provided to add libtool specific options. The only means available is for the user to cut-and-past this chunk into their Makefile.am so that it overrides Automake's default. This has long term negative effects for Automake. I recommend that Automake definitions which specify how libtool is used include a place to add libtool options for that mode. For example LTCXXCOMPILE = $(LIBTOOL) $(LTCXXCOMPILEOPTS) --mode=compile $(CXX) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CXXFLAGS) $(CXXFLAGS) This way the user could specify a value for LTCXXCOMPILEOPTS and does not need to replace the entire text. Bob ====================================== Bob Friesenhahn [EMAIL PROTECTED] http://www.simplesystems.org/users/bfriesen