I have AM_CONDITIONAL(ENABLE_BAR, ... ) in configure.in and I want to have

if ENABLE_BAR
lib_LTLIBARAIES=libfoo.la
libfoo_la_LDADD=-lbaz
...
else
noninst_LTILIBRARIES=libfoo.la
...
endif

in Makefile.am, but it doesn't work, automake wants to define both
of ..._LTLIBRARIES and screams that it is alredy defined (while parsing second) :-(

Does anyone know how to solve it?

-- 
Filip Kaliński <[EMAIL PROTECTED]>

Reply via email to