summaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-10-18 01:31:37 +0000
committermidipix <writeonce@midipix.org>2019-10-18 01:37:33 +0000
commit2f6cf541da2e40b9bd9d178562315c9740a88e5f (patch)
treecfde88f84cfd0cb3560a043f2a0b1eb2258bd4b8 /configure
parentae1e64faa02d2ffce1e752b659f5bb9e64836efe (diff)
downloadptycon-2f6cf541da2e40b9bd9d178562315c9740a88e5f.tar.bz2
ptycon-2f6cf541da2e40b9bd9d178562315c9740a88e5f.tar.xz
build system: configure: config_success(): support non-conforming/nested traps.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index c7fe370..35c477c 100755
--- a/configure
+++ b/configure
@@ -468,6 +468,10 @@ config_status()
config_failure()
{
+ if [ _$mb_success = _yes ]; then
+ return 0
+ fi
+
if [ -f Makefile ]; then
mb_error='failed to use the generated Makefile.'
printf '\n%s: error: %s\n' "${0}" "$mb_error" >&2
@@ -481,6 +485,7 @@ config_failure()
config_success()
{
trap '' EXIT
+ mb_success=yes
exit 0
}