diff configure.in @ 1532:30f189cdd82b

Implemented dummy audio driver. Fixes Bugzilla #161.
author Ryan C. Gordon <icculus@icculus.org>
date Tue, 14 Mar 2006 08:53:33 +0000
parents 9b9212e4810c
children dd05d6ee234e
line wrap: on
line diff
--- a/configure.in	Tue Mar 14 08:35:39 2006 +0000
+++ b/configure.in	Tue Mar 14 08:53:33 2006 +0000
@@ -533,6 +533,18 @@
     fi
 }
 
+dnl rcg03142006 See if the user wants the dummy audio driver...
+CheckDummyAudio()
+{
+    AC_ARG_ENABLE(dummyaudio,
+AC_HELP_STRING([--enable-dummyaudio], [support the dummy audio driver [default=yes]]),
+                  , enable_dummyaudio=yes)
+    if test x$enable_audio = xyes -a x$enable_dummyaudio = xyes; then
+        AC_DEFINE(SDL_AUDIO_DRIVER_DUMMY)
+        SOURCES="$SOURCES $srcdir/src/audio/dummy/*.c"
+    fi
+}
+
 dnl Set up the Atari Audio driver
 CheckAtariAudio()
 {
@@ -1915,6 +1927,7 @@
         esac
         CheckDummyVideo
         CheckDiskAudio
+        CheckDummyAudio
         CheckDLOPEN
         CheckNASM
         CheckAltivec
@@ -2029,6 +2042,7 @@
         ARCH=qnx
         CheckDummyVideo
         CheckDiskAudio
+        CheckDummyAudio
         # CheckNASM
         CheckDLOPEN
         CheckNAS
@@ -2069,6 +2083,7 @@
         fi
         CheckDummyVideo
         CheckDiskAudio
+        CheckDummyAudio
         CheckWIN32
         CheckWIN32GL
         CheckDIRECTX
@@ -2131,6 +2146,7 @@
         ac_default_prefix=/boot/develop/tools/gnupro
         CheckDummyVideo
         CheckDiskAudio
+        CheckDummyAudio
         CheckNASM
         CheckBWINDOW
         CheckBeGL
@@ -2183,6 +2199,7 @@
         ARCH=macosx
         CheckDummyVideo
         CheckDiskAudio
+        CheckDummyAudio
         CheckDLOPEN
         CheckCOCOA
         CheckCARBON
@@ -2249,6 +2266,7 @@
         ARCH=mint
         CheckDummyVideo
         CheckDiskAudio
+        CheckDummyAudio
         CheckAtariBiosEvent
         CheckAtariXbiosVideo
         CheckAtariGemVideo