On Sat, Dec 18, 2010 at 18:28 UTC, Dave Hart <h...@ntp.org> wrote:
> How is this for a AM_COND_IF that works at the m4sh level on older Automake:

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
])])

Thanks for your time,
Dave Hart

Reply via email to