From: Ralf Wildenhues Date: Sat, 18 Apr 2009 23:16:56 +0000 (+0200) Subject: manual: clarify m4_if synopsis. X-Git-Tag: v2.64~76 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=536f9ae3a43807e940f9f718f22bca5defa863d7;p=thirdparty%2Fautoconf.git manual: clarify m4_if synopsis. * doc/autoconf.texi (Redefined M4 Macros): Rewrite synopsis of m4_if in the presence of more than three arguments. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index 587b87323..055a30dd5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2009-04-19 Ralf Wildenhues + manual: clarify m4_if synopsis. + * doc/autoconf.texi (Redefined M4 Macros): Rewrite synopsis of + m4_if in the presence of more than three arguments. + Improve and clarify `config.status' usage documentation. * doc/autoconf.texi (config.status Invocation): Fix markup in synopsis. Use `tag' instead of `file' notation for the diff --git a/doc/autoconf.texi b/doc/autoconf.texi index b0e758efd..e6fd489c3 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -10637,7 +10637,8 @@ This macro corresponds to @code{m4exit}. @defmac m4_if (@var{comment}) @defmacx m4_if (@var{string-1}, @var{string-2}, @var{equal}, @ovar{not-equal}) -@defmacx m4_if (@var{string-1}, @var{string-2}, @var{equal}, @dots{}) +@defmacx m4_if (@var{string-1}, @var{string-2}, @var{equal-1}, @ + @var{string-3}, @var{string-4}, @var{equal-2}, @dots{}, @ovar{not-equal}) @msindex{if} This macro corresponds to @code{ifelse}. @var{string-1} and @var{string-2} are compared literally, so usually one of the two