Hi,

I have the target test, being:

tests = $(EXTRA_PROGRAMS)

I've added:

if forcestatic
tests: LIBS += $(STATIC_RESOLV)
end if

The problem is that automake it complains that .

tests was already defined in condition forcestatic, which is included
in condition TRUE ...
Makefile.am:150: ... `tests' previously defined here

So, how can I make a conditional target? In other Word how can I do
LIBS conditional (I need add static resolv in case of old glibc
version)

Thanks in advanve!

Thanks in advance


-- 
--
Sergio Belkin  http://www.sergiobelkin.com
Watch More TV http://sebelk.blogspot.com
LPIC-2 Certified

Reply via email to