[SCM] GNU Autoconf source repository branch, master, updated. v2.65-57-g456953a

"Eric Blake" <[email protected]> Mon, 05 Apr 2010 14:11:34 +0000
Newsgroups gmane.comp.sysutils.autoconf.cvs
Message-ID <[email protected]>
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=456953a61b7d0b0c60e4487d9b625e66288db928

The branch, master has been updated
       via  456953a61b7d0b0c60e4487d9b625e66288db928 (commit)
      from  c22b5e03a92bff438d4e4085eb7bf21ecef25e89 (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 456953a61b7d0b0c60e4487d9b625e66288db928
Author: Eric Blake <[email protected]>
Date:   Mon Apr 5 08:06:17 2010 -0600

    Fix m4_cr_all for EBCDIC.
    
    * lib/m4sugar/m4sugar.m4 (m4_cr_all): Swap * and $, so that we
    don't end up with $* in EBCDIC.
    * NEWS: Document the fix.
    * THANKS: Update.
    Reported by Steve Goetze.
    
    Signed-off-by: Eric Blake <[email protected]>

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

Summary of changes:
 ChangeLog              |    9 +++++++++
 NEWS                   |    2 ++
 THANKS                 |    1 +
 lib/m4sugar/m4sugar.m4 |    5 ++++-
 4 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 9b8c75c..181de16 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2010-04-05  Eric Blake  <[email protected]>
+
+	Fix m4_cr_all for EBCDIC.
+	* lib/m4sugar/m4sugar.m4 (m4_cr_all): Swap * and $, so that we
+	don't end up with $* in EBCDIC.
+	* NEWS: Document the fix.
+	* THANKS: Update.
+	Reported by Steve Goetze.
+
 2010-03-28  Ralf Wildenhues  <[email protected]>
 
 	Do not use @acronym in the manual.
diff --git a/NEWS b/NEWS
index 207325e..afd8907 100644
--- a/NEWS
+++ b/NEWS
@@ -14,6 +14,8 @@ GNU Autoconf NEWS - User visible changes.
 ** AC_PROG_INSTALL correctly uses `shtool' again.  Regression introduced
    in 2.64.
 
+** Autoconf should work on EBCDIC hosts.
+
 * Major changes in Autoconf 2.65 (2009-11-21) [stable]
   Released by Eric Blake, based on git versions 2.64.*.
 
diff --git a/THANKS b/THANKS
index 300d1e8..21aeb89 100644
--- a/THANKS
+++ b/THANKS
@@ -362,6 +362,7 @@ Stephen Gildea              [email protected]
 Stephen Rasku               [email protected]
 Stephen P. Schaefer         [email protected]
 Steve Chamberlain           [email protected]
+Steve Goetze                [email protected]
 Steve Huston                [email protected]
 Steve Robbins               [email protected]
 Steven G. Johnson           [email protected]
diff --git a/lib/m4sugar/m4sugar.m4 b/lib/m4sugar/m4sugar.m4
index 06ac4c6..15fbd35 100644
--- a/lib/m4sugar/m4sugar.m4
+++ b/lib/m4sugar/m4sugar.m4
@@ -2192,13 +2192,16 @@ m4_defn([m4_cr_digits])dnl
 # characters via m4_translit must deal with the fact that m4_translit does
 # not add quotes to the output.
 #
+# In EBCDIC, $ is immediately followed by *, which leads to problems
+# if m4_cr_all is inlined into a macro definition; so swap them.
+#
 # It is mainly useful in generating inverted character range maps, for use
 # in places where m4_translit is faster than an equivalent m4_bpatsubst;
 # the regex `[^a-z]' is equivalent to:
 #  m4_translit(m4_dquote(m4_defn([m4_cr_all])), [a-z])
 m4_define([m4_cr_all],
 m4_translit(m4_dquote(m4_format(m4_dquote(m4_for(
-  ,1,255,,[[%c]]))m4_for([i],1,255,,[,i]))), [-])-)
+  ,1,255,,[[%c]]))m4_for([i],1,255,,[,i]))), [$*-], [*$])-)
 
 
 # _m4_define_cr_not(CATEGORY)


hooks/post-receive
-- 
GNU Autoconf source repository