2008-12-29 21:15:20 -05:00
|
|
|
$OpenBSD: patch-configure,v 1.19 2008/12/30 02:15:20 jakemsr Exp $
|
2008-01-03 12:39:40 -05:00
|
|
|
--- configure.orig Sun Dec 30 21:09:39 2007
|
2008-11-02 09:53:51 -05:00
|
|
|
+++ configure Mon Sep 22 20:13:46 2008
|
|
|
|
@@ -25411,6 +25411,20 @@ _ACEOF
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
+
|
|
|
|
+CheckLibsndio()
|
|
|
|
+{
|
|
|
|
+ if [ x"$WITH_LIBSNDIO" = x"Yes" ]; then
|
|
|
|
+
|
|
|
|
+ cat >>confdefs.h <<\_ACEOF
|
|
|
|
+#define SDL_AUDIO_DRIVER_LIBSNDIO 1
|
|
|
|
+_ACEOF
|
|
|
|
+ SOURCES="$SOURCES $srcdir/src/audio/libsndio/*.c"
|
|
|
|
+ EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lsndio"
|
|
|
|
+ fi
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+
|
|
|
|
CheckPulseAudio()
|
|
|
|
{
|
|
|
|
# Check whether --enable-pulseaudio was given.
|
|
|
|
@@ -26333,9 +26347,6 @@ echo "${ECHO_T}$CompileNASM_ret" >&6; }
|
2007-09-21 21:12:38 -04:00
|
|
|
win32)
|
|
|
|
NASMFLAGS="-f win32"
|
|
|
|
;;
|
|
|
|
- openbsd)
|
|
|
|
- NASMFLAGS="-f aoutb"
|
|
|
|
- ;;
|
|
|
|
macosx)
|
|
|
|
NASMFLAGS="-f macho"
|
|
|
|
;;
|
2008-11-02 09:53:51 -05:00
|
|
|
@@ -33577,6 +33588,7 @@ _ACEOF
|
|
|
|
CheckALSA
|
|
|
|
CheckARTSC
|
|
|
|
CheckESD
|
|
|
|
+ CheckLibsndio
|
|
|
|
CheckPulseAudio
|
|
|
|
CheckNAS
|
|
|
|
CheckX11
|
|
|
|
@@ -33612,10 +33624,10 @@ _ACEOF
|
2007-09-21 21:12:38 -04:00
|
|
|
;;
|
|
|
|
netbsd|openbsd)
|
|
|
|
cat >>confdefs.h <<\_ACEOF
|
|
|
|
-#define SDL_AUDIO_DRIVER_BSD 1
|
|
|
|
+#define SDL_AUDIO_DRIVER_SUNAUDIO 1
|
|
|
|
_ACEOF
|
|
|
|
|
|
|
|
- SOURCES="$SOURCES $srcdir/src/audio/bsd/*.c"
|
|
|
|
+ SOURCES="$SOURCES $srcdir/src/audio/sun/*.c"
|
|
|
|
have_audio=yes
|
|
|
|
;;
|
|
|
|
aix)
|