[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AM_COND_IF for earlier Automake
From: |
Ralf Wildenhues |
Subject: |
Re: AM_COND_IF for earlier Automake |
Date: |
Sun, 19 Dec 2010 11:48:48 +0100 |
User-agent: |
Mutt/1.5.20 (2010-08-04) |
Hi Dave,
* Dave Hart wrote on Sat, Dec 18, 2010 at 07:57:13PM CET:
> I did not properly integrate Ralf's latest AM_COND_IF changes
> considering Stefano's feedback about _AM_COND_VALUE_foo on older
> Automake. 3rd time's charmed?
>
> m4_ifndef([AM_COND_IF], [AC_DEFUN([AM_COND_IF],
> [m4_ifndef([$1_TRUE],
> [m4_fatal([$0: no such condition "$1"])])dnl
> if test -z "$$1_TRUE"; then :
> m4_n([$2])[]dnl
> m4_ifval([$3],
> [else
> $3
> ])dnl
> fi[]dnl
> ])])
Looks ok to me. If you experience problems later, please report back.
Thanks,
Ralf