Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 198147
Collapse All | Expand All

(-)SDL-1.2.12.orig/configure.in (-5 / +5 lines)
Lines 470-477 Link Here
470
{
470
{
471
    AC_ARG_ENABLE(pulseaudio,
471
    AC_ARG_ENABLE(pulseaudio,
472
AC_HELP_STRING([--enable-pulseaudio], [use PulseAudio [[default=yes]]]),
472
AC_HELP_STRING([--enable-pulseaudio], [use PulseAudio [[default=yes]]]),
473
                  , enable_pulse=yes)
473
                  , enable_pulseaudio=yes)
474
    if test x$enable_audio = xyes -a x$enable_pulse = xyes; then
474
    if test x$enable_audio = xyes -a x$enable_pulseaudio = xyes; then
475
        audio_pulse=no
475
        audio_pulse=no
476
476
477
        PULSE_REQUIRED_VERSION=0.9
477
        PULSE_REQUIRED_VERSION=0.9
Lines 490-496 Link Here
490
        if test x$audio_pulse = xyes; then
490
        if test x$audio_pulse = xyes; then
491
            AC_ARG_ENABLE(pulseaudio-shared,
491
            AC_ARG_ENABLE(pulseaudio-shared,
492
AC_HELP_STRING([--enable-pulseaudio-shared], [dynamically load PulseAudio support [[default=yes]]]),
492
AC_HELP_STRING([--enable-pulseaudio-shared], [dynamically load PulseAudio support [[default=yes]]]),
493
                          , enable_pulse_shared=yes)
493
                          , enable_pulseaudio_shared=yes)
494
            if test "x`echo $PULSE_LIBS | grep -- -L`" = "x"; then
494
            if test "x`echo $PULSE_LIBS | grep -- -L`" = "x"; then
495
                if test "x`ls /lib/libpulse-simple.so.* 2> /dev/null`" != "x"; then
495
                if test "x`ls /lib/libpulse-simple.so.* 2> /dev/null`" != "x"; then
496
                    PULSE_LIBS="-L/lib $PULSE_LIBS"
496
                    PULSE_LIBS="-L/lib $PULSE_LIBS"
Lines 508-518 Link Here
508
            SOURCES="$SOURCES $srcdir/src/audio/pulse/*.c"
508
            SOURCES="$SOURCES $srcdir/src/audio/pulse/*.c"
509
            EXTRA_CFLAGS="$EXTRA_CFLAGS $PULSE_CFLAGS"
509
            EXTRA_CFLAGS="$EXTRA_CFLAGS $PULSE_CFLAGS"
510
            if test x$have_loadso != xyes && \
510
            if test x$have_loadso != xyes && \
511
               test x$enable_pulse_shared = xyes; then
511
               test x$enable_pulseaudio_shared = xyes; then
512
                AC_MSG_WARN([You must have SDL_LoadObject() support for dynamic PulseAudio loading])
512
                AC_MSG_WARN([You must have SDL_LoadObject() support for dynamic PulseAudio loading])
513
            fi
513
            fi
514
            if test x$have_loadso = xyes && \
514
            if test x$have_loadso = xyes && \
515
               test x$enable_pulse_shared = xyes && test x$pulse_lib != x; then
515
               test x$enable_pulseaudio_shared = xyes && test x$pulse_lib != x; then
516
                AC_DEFINE_UNQUOTED(SDL_AUDIO_DRIVER_PULSE_DYNAMIC, "$pulse_lib")
516
                AC_DEFINE_UNQUOTED(SDL_AUDIO_DRIVER_PULSE_DYNAMIC, "$pulse_lib")
517
            else
517
            else
518
                EXTRA_LDFLAGS="$EXTRA_LDFLAGS $PULSE_LIBS"
518
                EXTRA_LDFLAGS="$EXTRA_LDFLAGS $PULSE_LIBS"

Return to bug 198147