- renamed bas class for lowlevel sound support to bx_sound_lowlevel_c
- define symbol BX_SUPPORT_SOUNDLOW to make the lowlevel sound modules independent from the presence of the SB16 emulation
This commit is contained in:
parent
e6d56f97ae
commit
2653ba2fba
21
bochs/configure
vendored
21
bochs/configure
vendored
@ -1,5 +1,5 @@
|
||||
#! /bin/sh
|
||||
# From configure.in Id: configure.in 10250 2011-03-12 17:37:26Z vruppert .
|
||||
# From configure.in Id: configure.in 10266 2011-03-19 12:57:13Z vruppert .
|
||||
# Guess values for system-dependent variables and create Makefiles.
|
||||
# Generated by GNU Autoconf 2.65.
|
||||
#
|
||||
@ -23385,12 +23385,14 @@ fi
|
||||
|
||||
|
||||
if test "$soundcard_present" = 1; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sound output module" >&5
|
||||
$as_echo_n "checking for sound output module... " >&6; }
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sound lowlevel module" >&5
|
||||
$as_echo_n "checking for sound lowlevel module... " >&6; }
|
||||
$as_echo "#define BX_SUPPORT_SOUNDLOW 1" >>confdefs.h
|
||||
|
||||
case "$target" in
|
||||
*-linux* | *-freebsd*)
|
||||
SOUNDLOW_OBJS='soundlnx.o'
|
||||
$as_echo "#define BX_SOUND_OUTPUT_C bx_sound_linux_c" >>confdefs.h
|
||||
$as_echo "#define BX_SOUND_LOWLEVEL_C bx_sound_linux_c" >>confdefs.h
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: linux" >&5
|
||||
$as_echo "linux" >&6; }
|
||||
@ -23413,7 +23415,7 @@ fi
|
||||
;;
|
||||
*-pc-windows*)
|
||||
SOUNDLOW_OBJS='soundwin.o'
|
||||
$as_echo "#define BX_SOUND_OUTPUT_C bx_sound_windows_c" >>confdefs.h
|
||||
$as_echo "#define BX_SOUND_LOWLEVEL_C bx_sound_windows_c" >>confdefs.h
|
||||
|
||||
DEVICE_LINK_OPTS="$DEVICE_LINK_OPTS winmm.lib"
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: win" >&5
|
||||
@ -23421,7 +23423,7 @@ $as_echo "win" >&6; }
|
||||
;;
|
||||
*-cygwin* | *-mingw32*)
|
||||
SOUNDLOW_OBJS='soundwin.o'
|
||||
$as_echo "#define BX_SOUND_OUTPUT_C bx_sound_windows_c" >>confdefs.h
|
||||
$as_echo "#define BX_SOUND_LOWLEVEL_C bx_sound_windows_c" >>confdefs.h
|
||||
|
||||
DEVICE_LINK_OPTS="$DEVICE_LINK_OPTS -lwinmm"
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: win" >&5
|
||||
@ -23429,7 +23431,7 @@ $as_echo "win" >&6; }
|
||||
;;
|
||||
*-macosx* | *-macos*)
|
||||
SOUNDLOW_OBJS='soundosx.o'
|
||||
$as_echo "#define BX_SOUND_OUTPUT_C bx_sound_osx_c" >>confdefs.h
|
||||
$as_echo "#define BX_SOUND_LOWLEVEL_C bx_sound_osx_c" >>confdefs.h
|
||||
|
||||
DEVICE_LINK_OPTS="$DEVICE_LINK_OPTS -framework AudioUnit -framework AudioToolbox"
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: osx" >&5
|
||||
@ -23437,12 +23439,15 @@ $as_echo "osx" >&6; }
|
||||
;;
|
||||
*)
|
||||
SOUNDLOW_OBJS=''
|
||||
$as_echo "#define BX_SOUND_OUTPUT_C bx_sound_output_c" >>confdefs.h
|
||||
$as_echo "#define BX_SOUND_LOWLEVEL_C bx_sound_lowlevel_c" >>confdefs.h
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: dummy" >&5
|
||||
$as_echo "dummy" >&6; }
|
||||
;;
|
||||
esac
|
||||
else
|
||||
$as_echo "#define BX_SUPPORT_SOUNDLOW 0" >>confdefs.h
|
||||
|
||||
fi
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user