* Vincent Torri wrote on Wed, Jan 27, 2010 at 08:35:36AM CET:
> On Wed, 27 Jan 2010, Ralf Wildenhues wrote:
> >
> >Use something like
> > m4_if([$2],
> >       [yes], [enabled],
> >       [no], [disabled],
> >       [unknown default])

I always confuse m4_if with m4_case.  With that, the above should work.

m4_if usage should be like this

 m4_if([$2], [yes], [enabled],
       [$2], [no], [disabled],
       [unknown default])

Sorry about that.

Cheers,
Ralf


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

Reply via email to