automake
[Top][All Lists]
Advanced

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

Re: libfoo.la is already going to be installed in `lib'


From: Alexandre Duret-Lutz
Subject: Re: libfoo.la is already going to be installed in `lib'
Date: Tue, 20 Aug 2002 10:36:43 +0200
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i386-debian-linux-gnu)

>>> "Harlan" == Harlan Stenn <address@hidden> writes:

 Harlan> I hope I didn't ask about this one already.
 Harlan> I have a Makefile.am that uses conditionals:

 Harlan> foo/Makefile.am:
 Harlan> if COND1
 Harlan> libfoo = libfoo.la
 Harlan> endif

 Harlan> if COND2
 Harlan> libfoo = libfoo.la
 Harlan> endif

 Harlan> ...
 Harlan> lib_LTLIBRARIES = $(libfoo)

 Harlan> and when I run automake-1.6.3 on it I get:

 Harlan> automake: foo/Makefile.am: `libfoo.la' is already going
 Harlan> to be installed in `lib'

 Harlan> twice.

Could you fill a PR for this?

 Harlan> So how do I get automake to shut up?

I guess a ugly workaround is to define COND3 as "COND1 or COND2"
and use that...
-- 
Alexandre Duret-Lutz





reply via email to

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