--- libfame-0.9.1.orig/configure.in 2008-08-15 23:50:51.000000000 -0400 +++ libfame-0.9.1/configure.in 2008-08-15 23:55:14.000000000 -0400 @@ -90,26 +90,9 @@ dnl See if we need to pass -lm for the m AC_CHECK_LIB(m, sqrt, LIBS="$LIBS -lm") dnl Optimize +dnl enable -fstrict-aliasing unconditionally if test x$ac_cv_prog_gcc = xyes; then - CFLAGS="$CFLAGS -Wall -fexpensive-optimizations -funroll-loops -ffast-math" - -dnl -fstrict-aliasing doesn't seem to be supported by gcc < 2.95 - gcc_major_version=`$CC -dumpversion | \ - sed -e 's,[[^0-9.]],,g' -e 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` - gcc_minor_version=`$CC -dumpversion | \ - sed -e 's,[[^0-9.]],,g' -e 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` - gcc_micro_version=`$CC -dumpversion | \ - sed -e 's,[[^0-9.]],,g' -e 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` - - dnl ok, I must admit I don't know how to do or/and ;) - if test $gcc_major_version -eq 2; then - if test $gcc_minor_version -gt 94; then - CFLAGS="$CFLAGS -fstrict-aliasing" - fi - fi - if test $gcc_major_version -gt 2; then - CFLAGS="$CFLAGS -fstrict-aliasing" - fi + CFLAGS="$CFLAGS -Wall -fexpensive-optimizations -funroll-loops -ffast-math -fstrict-aliasing" fi dnl Check for debugging support