configure.in
changeset 1532 30f189cdd82b
parent 1521 9b9212e4810c
child 1547 dd05d6ee234e
--- 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