autoconf-commit
[Top][All Lists]
Advanced

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

[SCM] GNU Autoconf source repository branch, master, updated. v2.63-241-


From: Eric Blake
Subject: [SCM] GNU Autoconf source repository branch, master, updated. v2.63-241-g96ab16b
Date: Thu, 18 Dec 2008 13:55:42 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Autoconf source repository".

http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=96ab16be4a15f75fad0b28dd40a49ddcb201188f

The branch, master has been updated
       via  96ab16be4a15f75fad0b28dd40a49ddcb201188f (commit)
      from  9077bf12d8f0b0b6c6cdf94a1ef7837b9a2f5b6c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 96ab16be4a15f75fad0b28dd40a49ddcb201188f
Author: Eric Blake <address@hidden>
Date:   Thu Dec 18 06:44:59 2008 -0700

    Document m4_version_prereq.
    
    * doc/autoconf.texi (Number processing Macros)
    <m4_version_prereq>: Add documentation.
    * NEWS: Mention it.
    Reported by Bruno Haible.
    
    Signed-off-by: Eric Blake <address@hidden>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog         |    8 ++++++++
 NEWS              |    2 +-
 doc/autoconf.texi |   12 ++++++++++++
 3 files changed, 21 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 704ec47..86c6c4b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2008-12-18  Eric Blake  <address@hidden>
+
+       Document m4_version_prereq.
+       * doc/autoconf.texi (Number processing Macros)
+       <m4_version_prereq>: Add documentation.
+       * NEWS: Mention it.
+       Reported by Bruno Haible.
+
 2008-12-10  Jim Meyering  <address@hidden>
 
        AC_HEADER_ASSERT: don't say assertions are disabled when they're not
diff --git a/NEWS b/NEWS
index 65e5486..2e7fa1e 100644
--- a/NEWS
+++ b/NEWS
@@ -30,7 +30,7 @@ GNU Autoconf NEWS - User visible changes.
    m4_map_args_pair  m4_set_map
 
 ** The following m4sugar macros are documented now:
-   m4_copy  m4_dumpdefs  m4_rename
+   m4_copy  m4_dumpdefs  m4_rename  m4_version_prereq
 
 ** The m4sugar macro m4_expand has been taught to handle unterminated
    comments and shell case statements.  As a result, it is used
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index d232e4e..aeeb388 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -11835,6 +11835,18 @@ m4_version_compare([2.61b], [2.61a-248-dc51])
 @end example
 @end defmac
 
address@hidden m4_version_prereq (@var{version}, @ovar{if-new-enough}, @
+  @dvar{if-old, m4_fatal})
address@hidden
+Compares @var{version} against the version of Autoconf currently
+running.  If the running version is at @var{version} or newer, expand
address@hidden, but if @var{version} is larger than the version
+currently executing, expand @var{if-old}, which defaults to printing an
+error message and exiting m4sugar with status 63.  When given only one
+argument, this behaves like @code{AC_PREREQ} (@pxref{Versioning}).
+Remember that the autoconf philosophy favors feature checks over version
+checks.
address@hidden defmac
 
 @node Set manipulation Macros
 @subsection Set manipulation in M4


hooks/post-receive
--
GNU Autoconf source repository




reply via email to

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