$NetBSD: patch-aa,v 1.1.1.1 2003/12/03 18:47:33 xtraeme Exp $ --- configure.orig 2003-10-12 19:17:04.000000000 +0200 +++ configure 2003-10-12 19:17:19.000000000 +0200 @@ -3680,7 +3680,7 @@ 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 @@ 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 @@ 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"