automake
[Top][All Lists]
Advanced

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

Re: troubles with conditional install using automake


From: Guillaume Rousse
Subject: Re: troubles with conditional install using automake
Date: Thu, 02 Dec 2004 13:12:07 +0100
User-agent: Mozilla Thunderbird 0.9 (X11/20041105)

Alexandre Duret-Lutz wrote:
"Guillaume" == Guillaume Rousse <address@hidden> writes:


[...]

 Guillaume> In this situation, I have an installation target for
 Guillaume> initrd scripts in generated Makefile, using
 Guillaume> $(initrd_SCRIPTS) as dependency. However,
 Guillaume> initrd_SCRIPTS is defined to $(INITRD) at the
 Guillaume> beginning of the Makefile, while INITRD is defined
 Guillaume> at the end of the Makefile, with other conditional
 Guillaume> variables, and thus appears empty when it is
 Guillaume> evaluated.

What you describes are two bugs that were present in old
versions of Automake.  Please look at the Automake version
number at the top of the generated Makefile you mentioned.  I
believe you are not using Automake 1.8 as you think (it probably
is Automake 1.4).
You're right, it does work now. However, what it really strange is that I don't have automake 1.4 installed at all, and my older version is 1.6.3, which also work when explicitly called. My guess is there was some old automake cache lying around. As I don't have generated makefiles anymore, I can't check :/

[...]

 Guillaume> BTW, I'm using autoconf 2.53 and automake 1.8

Unlikely: Automake 1.8 requires Autoconf 2.58 or greater.
2.59 actually, I was confused by the AC_PREREQ(2.53) at the start of configure.ac
--
If you think you're wrong
                -- Murphy's Laws for School Administrators n°3




reply via email to

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