From: Eric Blake Date: Thu, 26 Aug 2010 22:10:44 +0000 (-0600) Subject: docs: document m4_define_default X-Git-Tag: v2.68~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=270b8340863c11c5e51bb2841a58974edf52e0db;p=thirdparty%2Fautoconf.git docs: document m4_define_default * doc/autoconf.texi (Conditional constructs) : Document it, since gnulib wants to use it. * NEWS: Mention this. Signed-off-by: Eric Blake --- diff --git a/ChangeLog b/ChangeLog index 0be58095e..92132b32d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2010-08-26 Eric Blake + docs: document m4_define_default + * doc/autoconf.texi (Conditional constructs) : + Document it, since gnulib wants to use it. + * NEWS: Mention this. + autoconf: warn if AC_*_IFELSE lacks complete program * lib/autoconf/lang.m4 (AC_LANG_DEFINES_PROVIDED): New macro. (AC_LANG_SOURCE): Call it. diff --git a/NEWS b/NEWS index 9998ab7c5..6010e7bc7 100644 --- a/NEWS +++ b/NEWS @@ -15,6 +15,8 @@ GNU Autoconf NEWS - User visible changes. a compelling reason why you cannot use AC_LANG_SOURCE but must avoid the warning. +** The macro m4_define_default is now documented. + * Major changes in Autoconf 2.67 (2010-07-21) [stable] Released by Eric Blake, based on git versions 2.66.*. diff --git a/doc/autoconf.texi b/doc/autoconf.texi index cf0c0a104..996525acd 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -11786,6 +11786,12 @@ demo4([empty], [text]) @end example @end defmac +@defmac m4_define_default (@var{macro}, @ovar{default-definition}) +@msindex{define_default} +If @var{macro} does not already have a definition, then define it to +@var{default-definition}. +@end defmac + @defmac m4_ifblank (@var{cond}, @ovar{if-blank}, @ovar{if-text}) @defmacx m4_ifnblank (@var{cond}, @ovar{if-text}, @ovar{if-blank}) @msindex{ifblank}