docs: document m4_define_default

* doc/autoconf.texi (Conditional constructs) <m4_define_default>:
Document it, since gnulib wants to use it.
* NEWS: Mention this.

Signed-off-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
Eric Blake 2010-08-26 16:10:44 -06:00
parent 1e604ecfb2
commit 270b834086
3 changed files with 13 additions and 0 deletions

View File

@ -1,5 +1,10 @@
2010-08-26 Eric Blake <eblake@redhat.com>
docs: document m4_define_default
* doc/autoconf.texi (Conditional constructs) <m4_define_default>:
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.

2
NEWS
View File

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

View File

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