This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: automake 1.6.2 - some problems


>>> "Patrik" == Patrik Weiskircher <me@justp.at> 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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]