autoconf-patches
[Top][All Lists]
Advanced

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

FYI: Fix syscmd (Was: FYI: syscmd no longer works with latest autoconf)


From: Akim Demaille
Subject: FYI: Fix syscmd (Was: FYI: syscmd no longer works with latest autoconf)
Date: 07 Nov 2000 12:06:12 +0100
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)

>>>>> "Jim" == Jim Meyering <address@hidden> writes:

Jim> Hi Akim!  FYI, I just found that syscmd no longer works when
Jim> using the latest version of autoconf.  Just in case it wasn't
Jim> intentional...

Thanks Jim.  Here is the fix I'm applying:

2000-11-07  Akim Demaille  <address@hidden>

        m4_syscmd was reestablished as `syscd' intead of `syscmd' because
        instead of `s/^m4_//', m4_copy_unm4 was running `s/[m4_]//'.

        * m4sugar.m4 (m4_copy_unm4): Fix.


--- m4sugar.m4~ Fri Nov  3 16:07:21 2000
+++ m4sugar.m4  Tue Nov  7 11:59:28 2000
@@ -103,7 +103,7 @@
 # ---------------------------
 # Copy m4_MACRO-NAME as MACRO-NAME.
 m4_define([m4_copy_unm4],
-[m4_copy([$1], m4_patsubst([[$1]], [[m4_]]))])
+[m4_copy([$1], m4_patsubst([$1], [^m4_\(.*\)], [[\1]]))])
 
 
 # Some m4 internals have names colliding with tokens we might use.



reply via email to

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