autoconf-patches
[Top][All Lists]
Advanced

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

[PATCH] m4sugar: document m4_define_default


From: Eric Blake
Subject: [PATCH] m4sugar: document m4_define_default
Date: Thu, 26 Aug 2010 16:11:34 -0600

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

Signed-off-by: Eric Blake <address@hidden>
---

I want to use this in gnulib's m4/include_next.m4, and would feel
better if it were documented.  This is unchanged since at least 2.59.

 ChangeLog         |    5 +++++
 NEWS              |    2 ++
 doc/autoconf.texi |    6 ++++++
 3 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 0be5809..b79692b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2010-08-26  Eric Blake  <address@hidden>

+       m4sugar: 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.
diff --git a/NEWS b/NEWS
index 9998ab7..6010e7b 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 cf0c0a1..996525a 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -11786,6 +11786,12 @@ Conditional constructs
 @end example
 @end defmac

address@hidden m4_define_default (@var{macro}, @ovar{default-definition})
address@hidden
+If @var{macro} does not already have a definition, then define it to
address@hidden
address@hidden 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}
-- 
1.7.2.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]