Hi,

I'm using automake (GNU automake) 1.4 and ltmain.sh (GNU libtool) 1.3.5. 

I would like to know if I can make a thing like follow:

if P_SELECTED
Clientdir = $(prefix)/include
Client_HEADERS    = p.h 
lib_LTLIBRARIES    = libp.la
libp_la_SOURCES = events.c 
else
noinst_LTLIBRARIES  = libp.la libpl.la 
libp_la_SOURCES = p.c 
libpl_la_SOURCES = pl.c
endif

After I run ./bootstrap I have the following warnings:

automake: Client/Makefile.am: `libdglog.la' is already going to be
installed in
`noinst'
Client/Makefile.am: libdglog_la_OBJECTS should not be defined

If I change the library name that must be installed, I don't have any
problems.

Can anybody help me, please?

-- 
Elisabetta Ronchieri
CNAF INFN

Reply via email to