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.62-42-g


From: Eric Blake
Subject: [SCM] GNU Autoconf source repository branch, master, updated. v2.62-42-g6eb7c48
Date: Tue, 15 Jul 2008 22:10:07 +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=6eb7c48491791475a3e557f632445d76aa8ce57c

The branch, master has been updated
       via  6eb7c48491791475a3e557f632445d76aa8ce57c (commit)
      from  0bc266ef1552bb68ec0d2483072b1f47bddcc4c4 (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 6eb7c48491791475a3e557f632445d76aa8ce57c
Author: Eric Blake <address@hidden>
Date:   Tue Jul 15 14:53:21 2008 -0600

    Avoid failure if version.m4 is omitted but m4_PACKAGE_* unused.
    
    * lib/m4sugar/m4sugar.m4 (m4_version_compare): Provide alternate
    definition for non-Autoconf clients of m4sugar.
    
    Signed-off-by: Eric Blake <address@hidden>

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

Summary of changes:
 ChangeLog              |    6 ++++++
 lib/m4sugar/m4sugar.m4 |   14 ++++++++------
 2 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 8ae2ef6..6491d76 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-07-15  Eric Blake  <address@hidden>
+
+       Avoid failure if version.m4 is omitted but m4_PACKAGE_* unused.
+       * lib/m4sugar/m4sugar.m4 (m4_version_compare): Provide alternate
+       definition for non-Autoconf clients of m4sugar.
+
 2008-07-14  Eric Blake  <address@hidden>
 
        Tighten bound of potential speed of m4_append.
diff --git a/lib/m4sugar/m4sugar.m4 b/lib/m4sugar/m4sugar.m4
index a4d6f12..88eebf0 100644
--- a/lib/m4sugar/m4sugar.m4
+++ b/lib/m4sugar/m4sugar.m4
@@ -2243,12 +2243,14 @@ m4_sinclude([m4sugar/version.m4])
 # ----------------------------------------------------
 # Check this Autoconf version against VERSION.
 m4_define([m4_version_prereq],
-[m4_if(m4_version_compare(]m4_dquote(m4_defn([m4_PACKAGE_VERSION]))[, [$1]),
-       [-1],
-       [m4_default([$3],
-                  [m4_fatal([Autoconf version $1 or higher is required],
-                            [63])])],
-       [$2])])
+m4_ifdef([m4_PACKAGE_VERSION],
+[[m4_if(m4_version_compare(]m4_dquote(m4_defn([m4_PACKAGE_VERSION]))[, [$1]),
+       [-1],
+       [m4_default([$3],
+                   [m4_fatal([Autoconf version $1 or higher is required],
+                             [63])])],
+       [$2])]],
+[[m4_fatal([m4sugar/version.m4 not found])]]))
 
 
 


hooks/post-receive
--
GNU Autoconf source repository




reply via email to

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