Hi Ralf, > More danger ahead: > > if $foo; then result=ok; else result=bad; fi > AM_CONDITIONAL([COND1], [test $result = ok]) > if $bar; then result=ok; else result=bad; fi > AM_CONDITIONAL([COND2], [test $result = ok]) > > I've seen such code in third party projects, it will break if you delay > the AM_CONDITIONAL evaluation.
Thanks for the heads-up. The code I posted does not delay the evaluation of the condition; it only delays the invocation of AM_CONDITIONAL. So it will work fine in this situation. Bruno -- In memoriam The victims of the East German uprising <http://en.wikipedia.org/wiki/Uprising_of_1953_in_East_Germany>