summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2022-09-13 07:58:30 -0700
committerKaz Kylheku <kaz@kylheku.com>2022-09-13 07:58:30 -0700
commitb2e641dbf982a3f47d8c3326df92c17cdefd4673 (patch)
tree931733160f80631f7ff26fb5ebfbcd8404a9fd73
parent20826049994d4819ab0dd7ab866a3c9fea25ad7b (diff)
downloadtxr-b2e641dbf982a3f47d8c3326df92c17cdefd4673.tar.gz
txr-b2e641dbf982a3f47d8c3326df92c17cdefd4673.tar.bz2
txr-b2e641dbf982a3f47d8c3326df92c17cdefd4673.zip
configure: fix disabling NaN boxing on 32 bit.
* configure: actually disable it, don't just print the warning. Warning should say 64 bits required, not 32.
-rwxr-xr-xconfigure5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure b/configure
index d1fbe948..01ac4531 100755
--- a/configure
+++ b/configure
@@ -1597,9 +1597,10 @@ fi
if [ -n "$nan_boxing" ] ; then
if [ $SIZEOF_PTR -ne 8 ] ; then
- printf "Warning: NaN boxing disabled: it requires 32 bit pointers\n"
+ printf "Warning: NaN boxing disabled: it requires 64 bit pointers\n"
+ else
+ printf "#define CONFIG_NAN_BOXING 1\n" >> config.h
fi
- printf "#define CONFIG_NAN_BOXING 1\n" >> config.h
fi
if [ -n "$nan_boxing" ] ; then