Re: AC_TRY_COMPILE() annoyances with 2.63b

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

 



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


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux