diff -Naur configure.orig configure --- configure.orig 2007-08-12 13:42:59.000000000 +0000 +++ configure 2007-08-12 14:20:14.000000000 +0000 @@ -6428,8 +6428,8 @@ ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS -I/usr/local/include conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS -L/usr/local/lib conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu SAVE_CFLAGS="$CFLAGS" @@ -6778,7 +6778,7 @@ MODULE_CFLAGS="-fno-exceptions -fPIC $HAVE_GCC_FORMAT_CHECK" MODULE_CPPFLAGS="-fno-check-new $RTTI_OPT $MODULE_CFLAGS" MODULE_LDRELAX="-export-dynamic -shared" -MODULE_LDFLAGS="$MODULE_LDRELAX $GCC_UNRESOLVED_SYMBOLS" +MODULE_LDFLAGS="$MODULE_LDRELAX" MODULE_SYMBOLS="-Wl,--retain-symbols-file,/dev/null"