$OpenBSD: patch-configure,v 1.13 2014/05/27 19:44:56 naddy Exp $
--- configure.orig	Mon Jan 27 18:10:36 2014
+++ configure	Tue May 27 17:07:14 2014
@@ -12077,9 +12077,9 @@ else
                 PROFILE="-g -pg -D__NO_MATH_INLINES -fsigned-char" ;;
      	*)
                 PLUGIN_LDFLAGS="-export-dynamic -avoid-version"
-                DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char"
-                CFLAGS="-O20 -D__NO_MATH_INLINES -fsigned-char"
-                PROFILE="-O20 -g -pg -D__NO_MATH_INLINES -fsigned-char" ;;
+                DEBUG="-g -Wall -fsigned-char"
+                CFLAGS="-fsigned-char"
+                PROFILE="-g -pg -fsigned-char" ;;
         esac
 fi
 CFLAGS="$CFLAGS $cflags_save -DAO_BUILDING_LIBAO"
@@ -12120,8 +12120,8 @@ else
   HAVE_LD_VERSION_SCRIPT_FALSE=
 fi
 
+if false; then		# AC_CHECK_LIB(pthread, pthread_kill)
 
-
 # we link to libpthread just in case one of our plugins does
 # in which case this is required to avoid problems on dlclose()
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5
@@ -12169,7 +12169,7 @@ _ACEOF
 
 fi
 
-
+fi	# AC_CHECK_LIB(pthread, pthread_kill)
 
 case $host in
     *hpux*)
