[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
