Re: AM_COND_IF for earlier Automake

2010-12-19 Thread Dave Hart
On Sun, Dec 19, 2010 at 14:13 UTC, Ralf Wildenhues wrote: > * Dave Hart wrote on Sun, Dec 19, 2010 at 02:47:58PM CET: >> On Sun, Dec 19, 2010 at 10:48 UTC, Ralf Wildenhues wrote: >> > * Dave Hart wrote on Sat, Dec 18, 2010 at 07:57:13PM CET: >> >> m4_ifndef([AM_COND_IF], [AC_DEFUN([AM_COND_IF], >>

Re: AM_COND_IF for earlier Automake

2010-12-19 Thread Ralf Wildenhues
* Dave Hart wrote on Sun, Dec 19, 2010 at 02:47:58PM CET: > On Sun, Dec 19, 2010 at 10:48 UTC, Ralf Wildenhues wrote: > > * Dave Hart wrote on Sat, Dec 18, 2010 at 07:57:13PM CET: > >> m4_ifndef([AM_COND_IF], [AC_DEFUN([AM_COND_IF], > >> [m4_ifndef([$1_TRUE], > >>          [m4_fatal([$0: no such co

Re: AM_COND_IF for earlier Automake

2010-12-19 Thread Dave Hart
On Sun, Dec 19, 2010 at 10:48 UTC, Ralf Wildenhues wrote: > Hi Dave, > * Dave Hart wrote on Sat, Dec 18, 2010 at 07:57:13PM CET: >> 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 : >>

Re: AM_COND_IF for earlier Automake

2010-12-19 Thread Ralf Wildenhues
* Dave Hart wrote on Sat, Dec 18, 2010 at 05:59:17PM CET: > My package _does_ simply require Automake 1.11, as it is needed to get > correct results with our nested subpackages. See this unrequited > message: > > http://lists.gnu.org/archive/html/automake/2010-11/msg00135.html Yeah, sorry, haven

Re: AM_COND_IF for earlier Automake

2010-12-19 Thread Ralf Wildenhues
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([

Re: AM_COND_IF for earlier Automake

2010-12-18 Thread Dave Hart
On Sat, Dec 18, 2010 at 18:28 UTC, Dave Hart 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_ifnd

Re: AM_COND_IF for earlier Automake

2010-12-18 Thread Dave Hart
How is this for a AM_COND_IF that works at the m4sh level on older Automake: m4_ifndef([AM_COND_IF], [AC_DEFUN([AM_COND_IF], [m4_ifndef([_AM_COND_VALUE_$1], [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[]

Re: AM_COND_IF for earlier Automake

2010-12-18 Thread Dave Hart
On Sat, Dec 18, 2010 at 11:56 AM, Ralf Wildenhues wrote: > 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

Re: AM_COND_IF for earlier Automake

2010-12-18 Thread Ralf Wildenhues
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? > BT

Re: AM_COND_IF for earlier Automake

2010-12-18 Thread Stefano Lattarini
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? > > m4_ifndef([AM_COND_IF], [AC_DEFUN([AM_COND_IF], > [m4_ifndef([_AM_COND_VALUE_$1], >