automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Conditionals in Makefile.am


From: Filip Kaliński
Subject: Conditionals in Makefile.am
Date: Tue, 11 Jun 2002 18:14:00 +0200
User-agent: Mutt/1.4i

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 <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]