autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AC_TRY_COMPILE() annoyances with 2.63b


From: Ralf Wildenhues
Subject: Re: AC_TRY_COMPILE() annoyances with 2.63b
Date: Mon, 6 Apr 2009 20:09:29 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hello Mike, Eric,

* Mike Frysinger wrote on Mon, Apr 06, 2009 at 03:16:53PM CEST:
> --- a/lib/m4sugar/m4sh.m4
> +++ b/lib/m4sugar/m4sh.m4
> @@ -607,7 +607,7 @@ m4_define([_AS_IF],
>  ])
>  m4_define([_AS_IF_ELSE],
>  [m4_ifvaln([$1],
> -[else
> +[else :
>    $1])])
>  
>  m4_defun([AS_IF],

I like this one, for simplicity and obvious correctness alone, but will
defer to Eric for the final decision.  Question is whether the "then"
and "elif" parts should receive the same treatment.

BTW, m4_normalize would have been wrong as it can change expanded text
that you wouldn't want changed, too.  (I think.)

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]