diff options
author | midipix <writeonce@midipix.org> | 2019-10-18 01:31:37 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-10-18 01:37:30 +0000 |
commit | 60294547e1394f5796d6d01e18f50f30ed67545a (patch) | |
tree | 6c3d4f310ec4cbc66f07ce9375ed30c41b419a69 /configure | |
parent | e3784e2cd17b862a18702bf88825dd6b8963bcdd (diff) | |
download | bcparser-60294547e1394f5796d6d01e18f50f30ed67545a.tar.bz2 bcparser-60294547e1394f5796d6d01e18f50f30ed67545a.tar.xz |
build system: configure: config_success(): support non-conforming/nested traps.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 } |