Re: AS_HELP_STRING in an m4 macro: different decription wrt arguments

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

 



* 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@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