bug-automake
[Top][All Lists]
Advanced

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

Re: Superlinear slow-down for each new AM_CONDITIONAL if...endif?


From: Alexandre Duret-Lutz
Subject: Re: Superlinear slow-down for each new AM_CONDITIONAL if...endif?
Date: Tue, 21 Oct 2003 14:15:26 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

Hi,

Sorry for the delay.

>>> "Simon" == Simon Josefsson <address@hidden> writes:

[...]

 >> * Automake now supports bin_PROGRAMS (or any *_PROGRAMS variable)
 >> being defined in several conditions.  As in
 >> 
 >> if COND1
 >> bin_PROGRAMS = a1
 >> endif
 >> if COND2
 >> bin_PROGRAMS = a2
 >> endif
 >> 
 >> Likewise for _LDADD and _LIBADD variables.

 Simon> It is somewhat confusing to me.  It seem to implicitly
 Simon> give the impression that not all variables can be
 Simon> defined in this way, and that now at least
 Simon> *_{PROGRAMS,LDADD,LIBADD} work.

Thanks for pointing this out.  Is the following text clearer?

Due to implementation constraints, previous versions of Automake
proscribed multiple conditional definitions of some variables
likes bin_PROGRAMS:

if COND1
  bin_PROGRAMS = a1
endif
if COND2
  bin_PROGRAMS = a2
endif

All _PROGRAMS, _LDADD, and _LIBADD variables were affected.
This restrictions has been lifted, and these variables now
support multiple conditional definitions as do other variables.
-- 
Alexandre Duret-Lutz





reply via email to

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