mirror of
git://git.sv.gnu.org/autoconf
synced 2025-01-18 10:45:15 +08:00
* m4sugar.m4 (m4_fatal): Dump the expansion stack.
* acgeneral.m4 (AC_FATAL): Use m4_fatal.
This commit is contained in:
parent
4b19491f44
commit
429b2e9e9d
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
@ -2208,9 +2208,7 @@ define([AC_WARNING],
|
||||
# AC_FATAL(MESSAGE, [EXIT-STATUS])
|
||||
# --------------------------------
|
||||
define([AC_FATAL],
|
||||
[m4_errprint(m4_location[: $1])
|
||||
_m4_expansion_stack_dump()
|
||||
m4exit(m4_default([$2], [1]))])
|
||||
[m4_fatal($@)])
|
||||
|
||||
|
||||
|
||||
|
@ -2208,9 +2208,7 @@ define([AC_WARNING],
|
||||
# AC_FATAL(MESSAGE, [EXIT-STATUS])
|
||||
# --------------------------------
|
||||
define([AC_FATAL],
|
||||
[m4_errprint(m4_location[: $1])
|
||||
_m4_expansion_stack_dump()
|
||||
m4exit(m4_default([$2], [1]))])
|
||||
[m4_fatal($@)])
|
||||
|
||||
|
||||
|
||||
|
@ -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]))])
|
||||
|
||||
|
||||
|
@ -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]))])
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user