Configure options to allow stunnel to use fastmath

This commit is contained in:
Nickolas Lapp
2015-07-17 15:05:04 -06:00
parent 7d44ed3989
commit cb3873ea03

View File

@ -1783,12 +1783,6 @@ then
ENABLED_CODING="yes"
fi
# For now, requires no fastmath, turn off if on
if test "x$ENABLED_FASTMATH" = "xyes"
then
ENABLED_FASTMATH="no"
fi
# Requires sessioncerts make sure on
if test "x$ENABLED_SESSIONCERTS" = "xno"
then
@ -1803,7 +1797,8 @@ then
AM_CFLAGS="$AM_CFLAGS -DHAVE_CRL"
AM_CONDITIONAL([BUILD_CRL], [test "x$ENABLED_CRL" = "xyes"])
fi
AM_CFLAGS="$AM_CFLAGS -DHAVE_STUNNEL"
# Stunnel requires timing resistant for stack reasons
AM_CFLAGS="$AM_CFLAGS -DHAVE_STUNNEL -DTFM_TIMING_RESISTANT"
fi
@ -1855,13 +1850,9 @@ AM_CONDITIONAL([BUILD_PWDBASED], [test "x$ENABLED_PWDBASED" = "xyes"])
FASTMATH_DEFAULT=no
if test "$host_cpu" = "x86_64"
then
# fastmath turned off for stunnel by default
if test "x$ENABLED_STUNNEL" = "xno"
then
FASTMATH_DEFAULT=yes
fi
fi
# fastmath
AC_ARG_ENABLE([fastmath],