filename | configure.in |
changeset | 989:7baf5ecd8e98 |
prev | 987:3bd03f1ce0a7 |
next | 1002:8ad76ddbdc58 |
author | nkeynes |
date | Tue Mar 24 11:15:57 2009 +0000 (15 years ago) |
permissions | -rw-r--r-- |
last change | Add preliminary implementation of the GDB remote debugging server - attaches to either or both the SH4 and ARM |
file | annotate | diff | log | raw |
1.1 --- a/configure.in Wed Feb 25 08:50:22 2009 +00001.2 +++ b/configure.in Tue Mar 24 11:15:57 2009 +00001.3 @@ -63,6 +63,9 @@1.4 AS_HELP_STRING( [--with-esd], [Build with support for the ESounD audio system]) )1.5 AC_ARG_WITH( pulse,1.6 AS_HELP_STRING( [--with-pulse], [Build with support for the PulseAudio audio system]) )1.7 +AC_ARG_WITH( sdl,1.8 + AS_HELP_STRING( [--with-sdl], [Build with support for SDL audio]) )1.9 +1.11 dnl ------------ Check if we're building on Darwin --------------1.13 @@ -240,6 +243,20 @@1.14 AC_DEFINE([HAVE_CORE_AUDIO], 1, [Have Apple CoreAudio support]) ],[true ])1.15 AM_CONDITIONAL( AUDIO_OSX, [test "$HAVE_CORE_AUDIO" = 'yes'] )1.17 +dnl Check for SDL (only used for audio at the moment)1.18 +if test "x$with_sdl" != "xno"; then1.19 + PKG_CHECK_MODULES(SDL, [sdl], [1.20 + HAVE_SDL='yes'1.21 + AUDIO_DRIVERS="$AUDIO_DRIVERS sdl"1.22 + AC_DEFINE([HAVE_SDL],1,[Have SDL support])1.23 + ], [1.24 + if test "x$with_sdl" = "xyes"; then1.25 + AC_MSG_FAILURE( ["SDL libraries could not be found (but were required)] )1.26 + fi1.27 + ])1.28 +fi1.29 +AM_CONDITIONAL( AUDIO_SDL, [test "$HAVE_SDL" = 'yes'] )1.30 +1.31 dnl Check for pulseaudio1.32 if test "x$with_pulse" != "xno"; then1.33 PKG_CHECK_MODULES(PULSE, [libpulse-simple], [
.