On Wed, 26 Mar 2003, Alexandre Duret-Lutz wrote: > My answer applies to Automake 1.7.x.
Well, that helps. automake (GNU automake) 1.7.3 Here's my Bootstrap: aclocal -I config \ && libtoolize --force --copy \ && autoheader \ && automake --add-missing --copy --foreign \ && autoconf \ && rm -f config.cache No, still problems. It's not using the flags for the extra module: noinst_LTLIBRARIES = libswishindex.la libswishindex_la_LIBADD = sw_expat/libswexpat.la $(LIBXML2_OBJS) libswishindex_la_LDFLAGS = $(LIBXML2_LIB) libswishindex_la_CPPFLAGS = $(LIBXML2_CFLAGS) libswishindex_la_DEPENDENCIES = $(LIBXML2_OBJS) EXTRA_libswishindex_la_SOURCES = parser.c parser.h libswishindex_la_SOURCES = \ fs.c fs.h \ It's building the sources correctly with the -I/usr/include/libxml2/... so the libswishindex_la_CPPFLAGS is not working: gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/libxml2/libxml -I/usr/include/libxml2 -g -O2 -c docprop_write.c -Wp,-MD,.deps/libswishindex_la-docprop_write.TPlo -o libswishindex_la-docprop_write.o >/dev/null 2>&1 mv -f .libs/libswishindex_la-docprop_write.lo libswishindex_la-docprop_write.lo But then when it builds the $(LIBXML2_OBJS) the flags are missing - which is the only time I really need them! ;). source='parser.c' object='parser.lo' libtool=yes \ depfile='.deps/parser.Plo' tmpdepfile='.deps/parser.TPlo' \ depmode=gcc /bin/sh ../config/depcomp \ /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c -o parser.lo `test -f 'parser.c' || echo './'`parser.c rm -f .libs/parser.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c parser.c -Wp,-MD,.deps/parser.TPlo -fPIC -DPIC -o .libs/parser.lo parser.c:67: libxml/HTMLparser.h: No such file or directory parser.c:68: libxml/xmlerror.h: No such file or directory parser.c:69: libxml/uri.h: No such file or directory -- Bill Moseley [EMAIL PROTECTED]