forked from wolfSSL/wolfssl
change autconf system to default to fastmath now
This commit is contained in:
10
configure.ac
10
configure.ac
@@ -1037,16 +1037,22 @@ fi
|
||||
|
||||
# fastmath
|
||||
AC_ARG_ENABLE([fastmath],
|
||||
[ --enable-fastmath Enable fast math for BigInts (default: disabled)],
|
||||
[ --enable-fastmath Enable fast math for BigInts (default: enabled)],
|
||||
[ ENABLED_FASTMATH=$enableval ],
|
||||
[ ENABLED_FASTMATH=no ]
|
||||
[ ENABLED_FASTMATH=yes ]
|
||||
)
|
||||
|
||||
if test "x$ENABLED_FASTMATH" = "xyes"
|
||||
then
|
||||
# turn off fastmth if leanpsk on or asn off
|
||||
if test "$ENABLED_LEANPSK" = "yes" || test "$ENABLED_ASN" = "no"
|
||||
then
|
||||
ENABLED_FASTMATH=no
|
||||
else
|
||||
AM_CFLAGS="$AM_CFLAGS -DUSE_FAST_MATH"
|
||||
ENABLED_SLOWMATH="no"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
# fast HUGE math
|
||||
|
Reference in New Issue
Block a user