This is the mail archive of the
autoconf-patches@gnu.org
mailing list for the autoconf project.
FYI: Fix syscmd (Was: FYI: syscmd no longer works with latest autoconf)
- To: Jim Meyering <meyering at ascend dot com>
- Subject: FYI: Fix syscmd (Was: FYI: syscmd no longer works with latest autoconf)
- From: Akim Demaille <akim at epita dot fr>
- Date: 07 Nov 2000 12:06:12 +0100
- Cc: APatche <autoconf-patches at gnu dot org>
- List-Id: Patches for autoconf, the GNU build system <autoconf-patches.gnu.org>
- References: <uryvgu3wfij.fsf@ixi.eng.ascend.com>
>>>>> "Jim" == Jim Meyering <meyering@ascend.com> 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 <akim@epita.fr>
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.