$NetBSD: patch-configure,v 1.1 2012/02/29 19:24:12 morr Exp $ --- configure.orig 2012-01-21 12:36:50.000000000 +0000 +++ configure @@ -4452,33 +4452,6 @@ rm -f core conftest.err conftest.$ac_obj fi LINKER=$LINKER - -if test -z "$orig_CXXFLAGS"; then - if test x$GCC = xyes && test "x$GXX" = xyes; then - CXXFLAGS="-g -O3 -fno-rtti -fvisibility-inlines-hidden -fno-threadsafe-statics -fno-enforce-eh-specs" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - -else - CXXFLAGS="-g -O3" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - else - CXXFLAGS="-O" - fi - CFLAGS="$CXXFLAGS" -fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setlocale" >&5 $as_echo_n "checking for library containing setlocale... " >&6; } if test "${ac_cv_search_setlocale+set}" = set; then :