$NetBSD: patch-ac,v 1.5 2007/12/16 15:18:29 adam Exp $

--- configure.orig	2007-11-17 22:32:16.000000000 +0100
+++ configure
@@ -20727,7 +20727,7 @@ esac
 
 
 
- if test "$mingw32_support" == "yes"; then
+ if test "$mingw32_support" = "yes"; then
   MINGW32_SUPPORT_TRUE=
   MINGW32_SUPPORT_FALSE='#'
 else
@@ -20899,7 +20899,7 @@ cat >>confdefs.h <<\_ACEOF
 _ACEOF
 
 else
-  CFLAGS="${CFLAGS} ${FCCFLAGS} -O2 -fomit-frame-pointer -funroll-all-loops -finline-functions -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wstrict-prototypes -Wno-unused -Winline"
+  CFLAGS="${CFLAGS} ${FCCFLAGS} -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wstrict-prototypes -Wno-unused -Winline"
 
 cat >>confdefs.h <<\_ACEOF
 #define DEBUG 0
