From ee4d132aee46d56aab67d48d5422c12a2a3e1d5a Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Tue, 13 Sep 2022 07:58:30 -0700 Subject: 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. --- configure | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'configure') 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 -- cgit v1.2.3