Changed to way to determine the default lowlevel sound driver (part of the

mixing3.patch by Dawn Teschendorf).
This commit is contained in:
Volker Ruppert 2014-11-22 11:44:02 +00:00
parent 7330f3a61c
commit 5a346de14d

18
bochs/configure vendored
View File

@ -1,5 +1,5 @@
#! /bin/sh
# From configure.in Id: configure.in 12551 2014-11-15 13:32:49Z vruppert .
# From configure.in Id: configure.in 12555 2014-11-22 11:43:40Z vruppert .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69.
#
@ -23911,8 +23911,6 @@ if test "$soundcard_present" = 1; then
case "$target" in
*-linux* | *-freebsd*)
SOUNDLOW_OBJS='soundlnx.o'
$as_echo "#define BX_SOUND_LOWLEVEL_C bx_sound_linux_c" >>confdefs.h
soundlow_drivers="oss"
soundlow_default="oss"
bx_have_alsa=0
@ -23924,8 +23922,6 @@ fi
if test "$bx_have_alsa" = 1; then
SOUNDLOW_OBJS="$SOUNDLOW_OBJS soundalsa.o"
$as_echo "#define BX_SOUND_LOWLEVEL_C bx_sound_alsa_c" >>confdefs.h
soundlow_default="alsa"
soundlow_drivers="alsa $soundlow_drivers"
$as_echo "#define BX_HAVE_ALSASOUND 1" >>confdefs.h
@ -23939,32 +23935,24 @@ fi
;;
*-pc-windows*)
SOUNDLOW_OBJS='soundwin.o'
$as_echo "#define BX_SOUND_LOWLEVEL_C bx_sound_windows_c" >>confdefs.h
DEVICE_LINK_OPTS="$DEVICE_LINK_OPTS winmm.lib"
soundlow_drivers="win"
soundlow_default="win"
;;
*-cygwin* | *-mingw32*)
SOUNDLOW_OBJS='soundwin.o'
$as_echo "#define BX_SOUND_LOWLEVEL_C bx_sound_windows_c" >>confdefs.h
DEVICE_LINK_OPTS="$DEVICE_LINK_OPTS -lwinmm"
soundlow_drivers="win"
soundlow_default="win"
;;
*-macosx* | *-macos* | *-apple-darwin*)
SOUNDLOW_OBJS='soundosx.o'
$as_echo "#define BX_SOUND_LOWLEVEL_C bx_sound_osx_c" >>confdefs.h
DEVICE_LINK_OPTS="$DEVICE_LINK_OPTS -framework CoreServices -framework AudioUnit -framework AudioToolbox"
soundlow_drivers="osx"
soundlow_default="osx"
;;
*)
SOUNDLOW_OBJS=''
$as_echo "#define BX_SOUND_LOWLEVEL_C bx_sound_lowlevel_c" >>confdefs.h
soundlow_default="dummy"
;;
esac
@ -23999,6 +23987,10 @@ $as_echo "$soundlow_drivers" >&6; }
$as_echo_n "checking for default sound lowlevel module... " >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $soundlow_default" >&5
$as_echo "$soundlow_default" >&6; }
cat >>confdefs.h <<_ACEOF
#define BX_SOUND_LOWLEVEL_NAME "$soundlow_default"
_ACEOF
else
$as_echo "#define BX_SUPPORT_SOUNDLOW 0" >>confdefs.h