---- fox-1.0.30/configure.in.orig Sat Jan 11 06:01:11 2003
-+++ fox-1.0.30/configure.in Tue Jan 28 19:29:29 2003
-@@ -240,7 +237,7 @@
+--- fox-1.6.44/configure.ac.orig 2011-02-10 02:25:34.000000000 +0100
++++ fox-1.6.44/configure.ac 2011-05-13 15:28:57.982557225 +0200
+@@ -56,9 +56,6 @@
+ AC_SUBST(LT_REVISION)
+ AC_SUBST(LT_AGE)
+
+-# Prevents setting flags.
+-CXXFLAGS=""
+-
+ # More secret source
+ AC_GNU_SOURCE
+
+@@ -118,7 +115,7 @@
AC_ARG_ENABLE(debug,[ --enable-debug compile for debugging])
AC_MSG_RESULT([$enable_debug])
if test "x$enable_debug" = "xyes" ; then
--CXXFLAGS="${CXXFLAGS} -g -DDEBUG"
-+CXXFLAGS="${CXXFLAGS} -DDEBUG"
+- CXXFLAGS="${CXXFLAGS} -g -DDEBUG"
++ CXXFLAGS="${CXXFLAGS} -DDEBUG"
fi
- dnl Building for release
-@@ -248,7 +245,7 @@
+ # Building for release
+@@ -126,10 +123,9 @@
AC_ARG_ENABLE(release,[ --enable-release compile for release])
AC_MSG_RESULT([$enable_release])
if test "x$enable_release" = "xyes" ; then
--CXXFLAGS="${CXXFLAGS} -O2 -DNDEBUG"
-+CXXFLAGS="${CXXFLAGS} -DNDEBUG"
- if test "${GXX}" = "yes" ; then
- CXXFLAGS="${CXXFLAGS} -Wuninitialized -ffast-math -finline-functions -fomit-frame-pointer -fexpensive-optimizations"
+- CXXFLAGS="${CXXFLAGS} -O2 -DNDEBUG"
++ CXXFLAGS="${CXXFLAGS} -DNDEBUG"
+ if test "${GXX}" = "yes" ; then
+ CXXFLAGS="${CXXFLAGS} -Wuninitialized -ffast-math -fstrict-aliasing -finline-functions -fomit-frame-pointer -fexpensive-optimizations"
+- LDFLAGS="-s ${LDFLAGS}"
+ fi
fi
+