[Top][All Lists]

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

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

From: Simon Josefsson
Subject: Re: Superlinear slow-down for each new AM_CONDITIONAL if...endif?
Date: Wed, 15 Oct 2003 01:43:21 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Alexandre Duret-Lutz <address@hidden> writes:

> This combinatorial explosion is a known problem of Automake
> 1.7.x and prior.  The NEWS file of the upcoming 1.8 contains the
> following entry:

Since I upgraded, I read the NEWS file, and noticed the next entry:

| * 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.

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

As I'm not sure what logic is behind the current text, I'm not sure
what a better version might be.  But generally, it would be surprising
if you couldn't set all variables as in the example, and if that is
the case, maybe some text in the manual is warranted, and maybe change
NEWS to 'Likewise for all other variables, such as _LDADD and _LIBADD.'.


reply via email to

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