# We cannot simply use "exit N" because some shells (zsh and Solaris sh)
# will not set $? to N while running the code set by "trap 0"
# So we set $? by executing "exit N" in the subshell and then exit.
-# "false" is used for exit code 1 (default), ":" is used for 0
m4_define([AS_EXIT],
[{ (exit m4_default([$1], 1)); exit; }])
# We cannot simply use "exit N" because some shells (zsh and Solaris sh)
# will not set $? to N while running the code set by "trap 0"
# So we set $? by executing "exit N" in the subshell and then exit.
-# "false" is used for exit code 1 (default), ":" is used for 0
m4_define([AS_EXIT],
[{ (exit m4_default([$1], 1)); exit; }])