From 270b8340863c11c5e51bb2841a58974edf52e0db Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Thu, 26 Aug 2010 16:10:44 -0600 Subject: [PATCH] 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 --- ChangeLog | 5 +++++ NEWS | 2 ++ doc/autoconf.texi | 6 ++++++ 3 files changed, 13 insertions(+) diff --git a/ChangeLog b/ChangeLog index 0be58095..92132b32 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 9998ab7c..6010e7bc 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 cf0c0a10..996525ac 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}