Configure Update

Revise default compiler optimization flags enable name to something more descriptive.
This commit is contained in:
John Safranek 2018-03-28 13:17:25 -07:00
parent e6a19bb1e8
commit e59bb43878
1 changed files with 6 additions and 6 deletions

View File

@ -3843,11 +3843,11 @@ then
fi fi
# Default optimization enable # Default optimization CFLAGS enable
AC_ARG_ENABLE([optimized], AC_ARG_ENABLE([optflags],
[AS_HELP_STRING([--enable-optimized],[Enable default optimization options (default: enabled)])], [AS_HELP_STRING([--enable-optflags],[Enable default optimization CFLAGS for the compiler (default: enabled)])],
[ ENABLED_OPTIMIZED=$enableval ], [ ENABLED_OPTFLAGS=$enableval ],
[ ENABLED_OPTIMIZED=yes ] [ ENABLED_OPTFLAGS=yes ]
) )
@ -4064,7 +4064,7 @@ then
AM_CFLAGS="$AM_CFLAGS -Wall -Wno-unused" AM_CFLAGS="$AM_CFLAGS -Wall -Wno-unused"
if test "$ax_enable_debug" = "no" if test "$ax_enable_debug" = "no"
then then
AS_IF([test "x$ENABLED_OPTIMIZED" = "xyes"], [ AS_IF([test "x$ENABLED_OPTFLAGS" = "xyes"], [
if test "$ENABLED_FASTMATH" = "yes" if test "$ENABLED_FASTMATH" = "yes"
then then
AM_CFLAGS="$AM_CFLAGS $OPTIMIZE_FAST_CFLAGS" AM_CFLAGS="$AM_CFLAGS $OPTIMIZE_FAST_CFLAGS"