configure.in
branchSDL-1.2
changeset 4296 f9fb7284991d
parent 4295 d62725f761a1
child 4298 7d60c0ac6aae
     1.1 --- a/configure.in	Sat Oct 10 08:46:06 2009 +0000
     1.2 +++ b/configure.in	Sat Oct 10 08:50:35 2009 +0000
     1.3 @@ -490,8 +490,8 @@
     1.4  {
     1.5      AC_ARG_ENABLE(pulseaudio,
     1.6  AC_HELP_STRING([--enable-pulseaudio], [use PulseAudio [[default=yes]]]),
     1.7 -                  , enable_pulse=yes)
     1.8 -    if test x$enable_audio = xyes -a x$enable_pulse = xyes; then
     1.9 +                  , enable_pulseaudio=yes)
    1.10 +    if test x$enable_audio = xyes -a x$enable_pulseaudio = xyes; then
    1.11          audio_pulse=no
    1.12  
    1.13          PULSE_REQUIRED_VERSION=0.9
    1.14 @@ -510,7 +510,7 @@
    1.15          if test x$audio_pulse = xyes; then
    1.16              AC_ARG_ENABLE(pulseaudio-shared,
    1.17  AC_HELP_STRING([--enable-pulseaudio-shared], [dynamically load PulseAudio support [[default=yes]]]),
    1.18 -                          , enable_pulse_shared=yes)
    1.19 +                          , enable_pulseaudio_shared=yes)
    1.20              if test "x`echo $PULSE_LIBS | grep -- -L`" = "x"; then
    1.21                  if test "x`ls /$base_libdir/libpulse-simple.so.* 2> /dev/null`" != "x"; then
    1.22                      PULSE_LIBS="-L/$base_libdir $PULSE_LIBS"
    1.23 @@ -531,11 +531,11 @@
    1.24              SOURCES="$SOURCES $srcdir/src/audio/pulse/*.c"
    1.25              EXTRA_CFLAGS="$EXTRA_CFLAGS $PULSE_CFLAGS"
    1.26              if test x$have_loadso != xyes && \
    1.27 -               test x$enable_pulse_shared = xyes; then
    1.28 +               test x$enable_pulseaudio_shared = xyes; then
    1.29                  AC_MSG_WARN([You must have SDL_LoadObject() support for dynamic PulseAudio loading])
    1.30              fi
    1.31              if test x$have_loadso = xyes && \
    1.32 -               test x$enable_pulse_shared = xyes && test x$pulse_lib != x; then
    1.33 +               test x$enable_pulseaudio_shared = xyes && test x$pulse_lib != x; then
    1.34                  AC_DEFINE_UNQUOTED(SDL_AUDIO_DRIVER_PULSE_DYNAMIC, "$pulse_lib")
    1.35              else
    1.36                  EXTRA_LDFLAGS="$EXTRA_LDFLAGS $PULSE_LIBS"