> In your situation I recommend using automake conditionals and not
> @SWIG_LIBRARIES@.  This will simplify your life.


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

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

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

(1) libgenie.la is there twice, but in mutually exclusive situations.
    I think automake should catch on to that.

(2) I have no libgenie_la_OBJECTS variable; what's going on?

Reply via email to