>> if SWIG
>> lib_LTLIBRARIES = libgenie.la libge.la libgeperl.la libgeguile.la
>> else
>> lib_LTLIBRARIES = libgenie.la
>> endif

Mark> I was trying that, and I get these two messages, the first seems
Mark> incorrect and the second is very obscure:

Mark> [rosalia@odie genie]$ automake -a
Mark> automake: libgenie/Makefile.am: `libgenie.la' is already going to be installed 
in `lib'
Mark> libgenie/Makefile.am: libgenie_la_OBJECTS should not be defined
Mark> [rosalia@odie genie]$ 

Sorry about that.  These are bugs in 1.4.  They're fixed in cvs, I
think.

Try this instead:

if SWIG
extra = libge.la libgeperl.la libgeguile.la
endif
lib_LTLIBRARIES = libgenie.la $(extra)

T

Reply via email to