$NetBSD: patch-aa,v 1.2 2011/12/20 10:35:03 wiz Exp $ --- configure.orig 2003-03-30 13:24:57.000000000 +0000 +++ configure @@ -3680,7 +3680,7 @@ CXXDEPMODE="depmode=$am_cv_CXX_dependenc if test "$GXX" = "yes" || test "$CXX" = "KCC"; then if test "$kde_use_debug_code" != "no"; then if test "$CXX" = "KCC"; then - CXXFLAGS="+K0 -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings $CXXFLAGS" + CXXFLAGS="+K0 -Wall -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings $CXXFLAGS" else if test "$kde_use_debug_code" = "full"; then CXXFLAGS="-g3 $CXXFLAGS" @@ -3949,11 +3949,11 @@ fi if test "$GCC" = "yes"; then case $host in *-*-linux-gnu) - CFLAGS="-ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS" + CFLAGS="-ansi -W -Wall -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS" CXXFLAGS="-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion $CXXFLAGS" ;; esac - CXXFLAGS="-Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings $CXXFLAGS" + CXXFLAGS="-Wall -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings $CXXFLAGS" echo "$as_me:$LINENO: checking whether $CXX supports -Wundef" >&5 echo $ECHO_N "checking whether $CXX supports -Wundef... $ECHO_C" >&6 @@ -18247,7 +18247,7 @@ save_CXXFLAGS="$CXXFLAGS" kde_safe_LIBS="$LIBS" LIBS="$LIBS $X_EXTRA_LIBS" if test "$GCC" = "yes"; then -CXXFLAGS="$CXXFLAGS -pedantic-errors" +CXXFLAGS="$CXXFLAGS" fi cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure"