see the attached example configure.ac & Makefile.am. it fails: $ autoreconf -vfi ... Makefile.am: error: object 'source.$(OBJEXT)' created both with libtool and without
if the Makefile.am line is enabled though: lib_a_CFLAGS = $(AM_CFLAGS) it works. seems like we should be able to handle this better. -mike
configure.ac
Description: application/vnd.nokia.n-gage.ac
SOURCES = source.c if USE_LIBTOOL noinst_LTLIBRARIES = libtest.la libtest_la_SOURCES = $(SOURCES) else noinst_LIBRARIES = lib.a lib_a_SOURCES = $(SOURCES) #lib_a_CFLAGS = $(AM_CFLAGS) endif
signature.asc
Description: PGP signature