configure.ac: update help and error messages re fastmath.

This commit is contained in:
Daniel Pouzzner
2024-09-10 13:05:54 -05:00
parent 20e2e33e25
commit 3cb66ad18a

View File

@ -759,14 +759,14 @@ fi
# fastmath # fastmath
AC_ARG_ENABLE([fastmath], AC_ARG_ENABLE([fastmath],
[AS_HELP_STRING([--enable-fastmath],[Enable fast math ops (default: disabled)])], [AS_HELP_STRING([--enable-fastmath],[Enable legacy Tom's Fast Math back end (default: disabled)])],
[ ENABLED_FASTMATH=$enableval ], [ ENABLED_FASTMATH=$enableval ],
[ ENABLED_FASTMATH=$DEF_FAST_MATH ] [ ENABLED_FASTMATH=$DEF_FAST_MATH ]
) )
# fast HUGE math # fast HUGE math
AC_ARG_ENABLE([fasthugemath], AC_ARG_ENABLE([fasthugemath],
[AS_HELP_STRING([--enable-fasthugemath],[Enable fast math + huge code (default: disabled)])], [AS_HELP_STRING([--enable-fasthugemath],[Enable legacy Tom's Fast Math + huge code (default: disabled)])],
[ ENABLED_FASTHUGEMATH=$enableval ], [ ENABLED_FASTHUGEMATH=$enableval ],
[ ENABLED_FASTHUGEMATH=no ] [ ENABLED_FASTHUGEMATH=no ]
) )
@ -8421,7 +8421,7 @@ then
if test "x$ENABLED_HEAPMATH" = "xyes" if test "x$ENABLED_HEAPMATH" = "xyes"
then then
AC_MSG_ERROR([please use --enable-fastmath if enabling staticmemory.]) AC_MSG_ERROR([--enable-heapmath is incompatible with --enable-staticmemory.])
fi fi
if test "$ENABLED_LOWRESOURCE" = "yes" && test "$ENABLED_RSA" = "no" if test "$ENABLED_LOWRESOURCE" = "yes" && test "$ENABLED_RSA" = "no"
then then