* acgeneral.m4 (AC_FATAL): Use m4_fatal.
+2000-11-01 Akim Demaille <akim@epita.fr>
+
+ * m4sugar.m4 (m4_fatal): Dump the expansion stack.
+ * acgeneral.m4 (AC_FATAL): Use m4_fatal.
+
2000-11-01 Akim Demaille <akim@epita.fr>
Move the `defun' handling into M4sugar.
# AC_FATAL(MESSAGE, [EXIT-STATUS])
# --------------------------------
define([AC_FATAL],
-[m4_errprint(m4_location[: $1])
-_m4_expansion_stack_dump()
-m4exit(m4_default([$2], [1]))])
+[m4_fatal($@)])
# AC_FATAL(MESSAGE, [EXIT-STATUS])
# --------------------------------
define([AC_FATAL],
-[m4_errprint(m4_location[: $1])
-_m4_expansion_stack_dump()
-m4exit(m4_default([$2], [1]))])
+[m4_fatal($@)])
# Fatal the user. :)
define([m4_fatal],
[m4_errprint(m4_location[: error: $1])dnl
+m4_expansion_stack_dump()dnl
m4exit(ifelse([$2],, 1, [$2]))])
# Fatal the user. :)
define([m4_fatal],
[m4_errprint(m4_location[: error: $1])dnl
+m4_expansion_stack_dump()dnl
m4exit(ifelse([$2],, 1, [$2]))])