|
From: | Alexandre Duret-Lutz |
Subject: | Re: AM_CONDITIONAL and += macros |
Date: | Tue, 05 Feb 2002 09:32:18 +0100 |
User-agent: | Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i386-debian-linux-gnu) |
[Jean-Bernard Delva] |Why is it that using '+=' inside an 'if' with automake causes errors? |Here is an example makefile.am illustrating the offending behavior: | |DUMMY = a | |if SOME_CONDITION |DUMMY += b |endif [...] |Can anyone point to me what I am doing wrong or provide a workaround? This is a known problem in Automake. You can use the following instead: if SOME_CONDITION MUMBLE = b endif DUMMY = a $(MUMBLE) -- Alexandre Duret-Lutz
[Prev in Thread] | Current Thread | [Next in Thread] |