aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGavin D. Howard <gavin@gavinhoward.com>2023-03-30 19:30:24 -0600
committerGavin D. Howard <gavin@gavinhoward.com>2023-03-30 19:30:24 -0600
commitb061283878548784ee0fa88a2fa8db7104976a6c (patch)
tree183899ce4088665ab790829e4311c2b094296654
parent55a6c05b280fbfb6873e42a5825403c17417029a (diff)
downloadbc-b061283878548784ee0fa88a2fa8db7104976a6c.tar.gz
Fix a small thing in configure.sh
Signed-off-by: Gavin D. Howard <gavin@gavinhoward.com>
-rwxr-xr-xconfigure.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.sh b/configure.sh
index c80b3ab0..9cea15d9 100755
--- a/configure.sh
+++ b/configure.sh
@@ -1690,7 +1690,6 @@ fi
# we have to set it because we also set _POSIX_C_SOURCE, which OpenBSD headers
# detect, and when they detect it, they turn off _BSD_SOURCE unless it is
# specifically requested.
-set +e
printf 'Testing for OpenBSD...\n'
flags="-DBC_TEST_OPENBSD -DBC_ENABLE_AFL=0"
@@ -1713,6 +1712,8 @@ else
bsd=""
fi
+set -e
+
if [ "$library" -eq 1 ]; then
bc_lib=""
fi