diff -Naupr libfame-0.9.1.orig/configure.in libfame-0.9.1/configure.in --- libfame-0.9.1.orig/configure.in 2004-02-11 14:12:24.000000000 +0100 +++ libfame-0.9.1/configure.in 2004-10-25 11:49:01.654265064 +0200 @@ -97,26 +97,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 --version | \ - sed -e 's,[[^0-9.]],,g' -e 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` - gcc_minor_version=`$CC --version | \ - sed -e 's,[[^0-9.]],,g' -e 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` - gcc_micro_version=`$CC --version | \ - 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