automake
[Top][All Lists]
Advanced

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

Re: automake 1.6.2 - some problems


From: Alexandre Duret-Lutz
Subject: Re: automake 1.6.2 - some problems
Date: 19 Jun 2002 21:10:54 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

>>> "Patrik" == Patrik Weiskircher <address@hidden> writes:

[...]

 Patrik> So I thought it could be a bug in automake.

It is.  There is an implicit AC_SUBST(libdir) in Autoconf; 
and you have a conditional redefinition of libdir in your Makefile.am:

if COND
libdir = mumble
endif

Instead of producing the bogus Makefile.in you got, Automake
should error out: since libdir has been defined globally, it's
an error to redefine it conditionnally.

I'll commit a fix for this shortly, but you don't really need
it.  In your case, there is no reason to redefine libdir (or
plugindir, or pkglibdir) conditionally.  Just define your
*_SOURCES conditionally.

Thanks.
-- 
Alexandre Duret-Lutz




reply via email to

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