$OpenBSD: patch-configure,v 1.16 2009/09/06 15:03:18 naddy Exp $ --- configure.orig Tue Aug 25 01:44:33 2009 +++ configure Thu Sep 3 23:13:46 2009 @@ -11317,8 +11317,8 @@ CC="$lt_save_CC" if test 0 = "0"; then supported_build=yes if test "x$GCC" = "xyes" ; then - CFLAGS="$CFLAGS -g -O3 " - CXXFLAGS="$CXXFLAGS -g -O3 " + : CFLAGS="$CFLAGS -g -O3 " + : CXXFLAGS="$CXXFLAGS -g -O3 " fi else supported_build=no @@ -16403,7 +16403,7 @@ esac if test "x$GCC" = "xyes" ; then - CFLAGS="$CFLAGS -std=gnu99 -ggdb3 -Wall -W -Wpointer-arith -Wformat-security -Wcast-align -Wundef -Wcast-align -Wstrict-prototypes -Wmissing-declarations -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wunused-parameter -Wwrite-strings" + : CFLAGS="$CFLAGS -std=gnu99 -ggdb3 -Wall -W -Wpointer-arith -Wformat-security -Wcast-align -Wundef -Wcast-align -Wstrict-prototypes -Wmissing-declarations -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wunused-parameter -Wwrite-strings" { $as_echo "$as_me:$LINENO: checking gcc version" >&5 $as_echo_n "checking gcc version... " >&6; } @@ -16415,7 +16415,7 @@ $as_echo_n "checking gcc version... " >&6; } { $as_echo "$as_me:$LINENO: result: $GCC_VERSION" >&5 $as_echo "$GCC_VERSION" >&6; } if test $GCC_VERSION_NUM -ge 304; then - CFLAGS="$CFLAGS -Wextra -Wdeclaration-after-statement -Winit-self" + : CFLAGS="$CFLAGS -Wextra -Wdeclaration-after-statement -Winit-self" fi fi