$OpenBSD: patch-configure_ac,v 1.2 2010/04/01 22:12:47 naddy Exp $ --- configure.ac.orig Mon Feb 23 22:34:53 2004 +++ configure.ac Thu Apr 1 23:08:53 2010 @@ -72,6 +72,7 @@ debug="" optimize="" profile="" +if false; then set -- $CFLAGS CFLAGS="" @@ -138,6 +139,7 @@ then : #? optimize="$optimize -finline-functions" fi fi +fi dnl Internationalization support. @@ -314,6 +316,13 @@ fi if test "$audio" = unknown then + AC_EGREP_CPP(sio_par, [ +# include +], [audio="sndio"; ldadd_audio="$ldadd_audio -lsndio"]) +fi + +if test "$audio" = unknown +then AC_EGREP_CPP(yes, [ # include # if defined(OPEN_SOUND_SYSTEM) || defined(UNIX_SOUND_SYSTEM) || \ @@ -480,7 +489,7 @@ AC_HELP_STRING([--disable-debugging], debug="" if test "$GCC" = yes then - optimize="$optimize -fomit-frame-pointer" + : optimize="$optimize -fomit-frame-pointer" fi ;; esac