[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05-m4-fatal.patch
From: |
Akim Demaille |
Subject: |
05-m4-fatal.patch |
Date: |
30 Oct 2000 10:19:57 +0100 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands) |
Index: ChangeLog
from Akim Demaille <address@hidden>
* m4sugar.m4 (m4_fatal): Dump the expansion stack.
* acgeneral.m4 (AC_FATAL): Use m4_fatal.
Index: acgeneral.m4
--- acgeneral.m4 Thu, 26 Oct 2000 23:04:30 +0200 akim (ace/27_acgeneral.
1.169.8.76 666)
+++ acgeneral.m4 Fri, 27 Oct 2000 21:15:15 +0200 akim (ace/27_acgeneral.
1.169.8.76 666)
@@ -2187,9 +2187,7 @@ define([AC_WARNING], [m4_warn([syntax],
# AC_FATAL(MESSAGE, [EXIT-STATUS])
# --------------------------------
define([AC_FATAL],
-[m4_errprint(m4_location[: $1])
-_m4_expansion_stack_dump()
-m4exit(m4_default([$2], [1]))])
+[m4_fatal($@)])
Index: m4sugar.m4
--- m4sugar.m4 Fri, 27 Oct 2000 21:12:28 +0200 akim (ace/b/27_libm4.m4 1.25 644)
+++ m4sugar.m4 Fri, 27 Oct 2000 21:13:23 +0200 akim (ace/b/27_libm4.m4 1.25 644)
@@ -110,6 +110,7 @@ define([m4_warning],
# Fatal the user. :)
define([m4_fatal],
[m4_errprint(m4_location[: error: $1])dnl
+m4_expansion_stack_dump()dnl
m4exit(ifelse([$2],, 1, [$2]))])
- 05-m4-fatal.patch,
Akim Demaille <=