>>> "Harlan" == Harlan Stenn <[EMAIL PROTECTED]> 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