--- configure.orig Sun Oct 3 15:27:59 2004 +++ configure Sat May 22 10:35:19 2010 @@ -5922,7 +5922,7 @@ test x$x_includes = "x" && x_includes="/usr/include" test x$x_libraries = "x" && x_libraries="/usr/lib" CFLAGS="" -CXXFLAGS="-Os $CXXFLAGS $X_CFLAGS" +CXXFLAGS="$CXXFLAGS $X_CFLAGS" LIBS="$LIBS $X_LIBS $X_PRE_LIBS" # Check for required functions in -lX11