mirror of https://github.com/encounter/SDL.git
Fixed building new coreaudio driver on Mac OS X
This commit is contained in:
parent
4209a1fd4c
commit
8c01d5886c
|
@ -23453,7 +23453,7 @@ $as_echo "#define SDL_FILESYSTEM_HAIKU 1" >>confdefs.h
|
||||||
|
|
||||||
# Set up files for the audio library
|
# Set up files for the audio library
|
||||||
if test x$enable_audio = xyes; then
|
if test x$enable_audio = xyes; then
|
||||||
SOURCES="$SOURCES $srcdir/src/audio/coreaudio/*.c"
|
SOURCES="$SOURCES $srcdir/src/audio/coreaudio/*.m"
|
||||||
SUMMARY_audio="${SUMMARY_audio} coreaudio"
|
SUMMARY_audio="${SUMMARY_audio} coreaudio"
|
||||||
have_audio=yes
|
have_audio=yes
|
||||||
fi
|
fi
|
||||||
|
@ -23528,9 +23528,10 @@ $as_echo "#define SDL_FILESYSTEM_HAIKU 1" >>confdefs.h
|
||||||
|
|
||||||
$as_echo "#define SDL_AUDIO_DRIVER_COREAUDIO 1" >>confdefs.h
|
$as_echo "#define SDL_AUDIO_DRIVER_COREAUDIO 1" >>confdefs.h
|
||||||
|
|
||||||
SOURCES="$SOURCES $srcdir/src/audio/coreaudio/*.c"
|
SOURCES="$SOURCES $srcdir/src/audio/coreaudio/*.m"
|
||||||
SUMMARY_audio="${SUMMARY_audio} coreaudio"
|
SUMMARY_audio="${SUMMARY_audio} coreaudio"
|
||||||
have_audio=yes
|
have_audio=yes
|
||||||
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,AVFoundation"
|
||||||
fi
|
fi
|
||||||
# Set up files for the joystick library
|
# Set up files for the joystick library
|
||||||
if test x$enable_joystick = xyes; then
|
if test x$enable_joystick = xyes; then
|
||||||
|
|
|
@ -3242,7 +3242,7 @@ AC_HELP_STRING([--enable-render-d3d], [enable the Direct3D render driver [[defau
|
||||||
|
|
||||||
# Set up files for the audio library
|
# Set up files for the audio library
|
||||||
if test x$enable_audio = xyes; then
|
if test x$enable_audio = xyes; then
|
||||||
SOURCES="$SOURCES $srcdir/src/audio/coreaudio/*.c"
|
SOURCES="$SOURCES $srcdir/src/audio/coreaudio/*.m"
|
||||||
SUMMARY_audio="${SUMMARY_audio} coreaudio"
|
SUMMARY_audio="${SUMMARY_audio} coreaudio"
|
||||||
have_audio=yes
|
have_audio=yes
|
||||||
fi
|
fi
|
||||||
|
@ -3315,9 +3315,10 @@ AC_HELP_STRING([--enable-render-d3d], [enable the Direct3D render driver [[defau
|
||||||
# Set up files for the audio library
|
# Set up files for the audio library
|
||||||
if test x$enable_audio = xyes; then
|
if test x$enable_audio = xyes; then
|
||||||
AC_DEFINE(SDL_AUDIO_DRIVER_COREAUDIO, 1, [ ])
|
AC_DEFINE(SDL_AUDIO_DRIVER_COREAUDIO, 1, [ ])
|
||||||
SOURCES="$SOURCES $srcdir/src/audio/coreaudio/*.c"
|
SOURCES="$SOURCES $srcdir/src/audio/coreaudio/*.m"
|
||||||
SUMMARY_audio="${SUMMARY_audio} coreaudio"
|
SUMMARY_audio="${SUMMARY_audio} coreaudio"
|
||||||
have_audio=yes
|
have_audio=yes
|
||||||
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,AVFoundation"
|
||||||
fi
|
fi
|
||||||
# Set up files for the joystick library
|
# Set up files for the joystick library
|
||||||
if test x$enable_joystick = xyes; then
|
if test x$enable_joystick = xyes; then
|
||||||
|
|
Loading…
Reference in New Issue