Hello Dave, * Stefano Lattarini wrote on Sat, Dec 18, 2010 at 11:18:04AM CET: > On Saturday 18 December 2010, Dave Hart wrote: > > I'd like a package I depend on to use AM_COND_IF, but it does not want > > to demand Automake 1.11 at this point. Does this seem like a > > reasonable solution?
> BTW, I see that automake 1.11 also traces the macros _AM_COND_IF, > _AM_COND_ELSE and _AM_COND_ENDIF, which are not present nor traced in > 1.10, so my suggestion above might still be insufficient in some > situations (if not all). Exactly. AC_CONFIG_* instances within AM_COND_IF arguments will be mistreated. > My advice is: just require Automake 1.11. That's not unreasonable, > since that's anyway a requirement for developers, not for users. Agreed. Also, your implementation shares the bug fixed in v1.11-152-g6f6e328: - The AM_COND_IF macro also works if the shell expression for the conditional is no longer valid for the condition. Cheers, Ralf