Only show the dynamic audio libraries if we'll be dynamically loading them SDL-1.2
authorSam Lantinga <slouken@libsdl.org>
Tue, 13 Oct 2009 06:45:02 +0000
branchSDL-1.2
changeset 43284abf24b03b1d
parent 4327 2b6e3b42f80f
child 4329 9716da353104
Only show the dynamic audio libraries if we'll be dynamically loading them
configure.in
     1.1 --- a/configure.in	Tue Oct 13 05:20:09 2009 +0000
     1.2 +++ b/configure.in	Tue Oct 13 06:45:02 2009 +0000
     1.3 @@ -374,7 +374,6 @@
     1.4  AC_HELP_STRING([--enable-alsa-shared], [dynamically load ALSA audio support [[default=yes]]]),
     1.5                            , enable_alsa_shared=yes)
     1.6              alsa_lib=[`find_lib "libasound.so.*" "$ALSA_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
     1.7 -            echo "-- dynamic libasound -> $alsa_lib"
     1.8  
     1.9              AC_DEFINE(SDL_AUDIO_DRIVER_ALSA)
    1.10              SOURCES="$SOURCES $srcdir/src/audio/alsa/*.c"
    1.11 @@ -385,6 +384,7 @@
    1.12              fi
    1.13              if test x$have_loadso = xyes && \
    1.14                 test x$enable_alsa_shared = xyes && test x$alsa_lib != x; then
    1.15 +                echo "-- dynamic libasound -> $alsa_lib"
    1.16                  AC_DEFINE_UNQUOTED(SDL_AUDIO_DRIVER_ALSA_DYNAMIC, "$alsa_lib")
    1.17              else
    1.18                  EXTRA_LDFLAGS="$EXTRA_LDFLAGS $ALSA_LIBS"
    1.19 @@ -469,7 +469,6 @@
    1.20  AC_HELP_STRING([--enable-esd-shared], [dynamically load ESD audio support [[default=yes]]]),
    1.21                            , enable_esd_shared=yes)
    1.22              esd_lib=[`find_lib "libesd.so.*" "$ESD_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
    1.23 -            echo "-- dynamic libesd -> $esd_lib"
    1.24  
    1.25              AC_DEFINE(SDL_AUDIO_DRIVER_ESD)
    1.26              SOURCES="$SOURCES $srcdir/src/audio/esd/*.c"
    1.27 @@ -480,6 +479,7 @@
    1.28              fi
    1.29              if test x$have_loadso = xyes && \
    1.30                 test x$enable_esd_shared = xyes && test x$esd_lib != x; then
    1.31 +                echo "-- dynamic libesd -> $esd_lib"
    1.32                  AC_DEFINE_UNQUOTED(SDL_AUDIO_DRIVER_ESD_DYNAMIC, "$esd_lib")
    1.33              else
    1.34                  EXTRA_LDFLAGS="$EXTRA_LDFLAGS $ESD_LIBS"
    1.35 @@ -516,7 +516,6 @@
    1.36  AC_HELP_STRING([--enable-pulseaudio-shared], [dynamically load PulseAudio support [[default=yes]]]),
    1.37                            , enable_pulseaudio_shared=yes)
    1.38              pulse_lib=[`find_lib "libpulse-simple.so.*" "$PULSE_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
    1.39 -            echo "-- dynamic libpulse-simple -> $pulse_lib"
    1.40  
    1.41              AC_DEFINE(SDL_AUDIO_DRIVER_PULSE)
    1.42              SOURCES="$SOURCES $srcdir/src/audio/pulse/*.c"
    1.43 @@ -527,6 +526,7 @@
    1.44              fi
    1.45              if test x$have_loadso = xyes && \
    1.46                 test x$enable_pulseaudio_shared = xyes && test x$pulse_lib != x; then
    1.47 +                echo "-- dynamic libpulse-simple -> $pulse_lib"
    1.48                  AC_DEFINE_UNQUOTED(SDL_AUDIO_DRIVER_PULSE_DYNAMIC, "$pulse_lib")
    1.49              else
    1.50                  EXTRA_LDFLAGS="$EXTRA_LDFLAGS $PULSE_LIBS"
    1.51 @@ -566,7 +566,6 @@
    1.52  AC_HELP_STRING([--enable-arts-shared], [dynamically load aRts audio support [[default=yes]]]),
    1.53                                , enable_arts_shared=yes)
    1.54                  arts_lib=[`find_lib "libartsc.so.*" "$ARTS_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
    1.55 -                echo "-- dynamic libartsc -> $arts_lib"
    1.56  
    1.57                  AC_DEFINE(SDL_AUDIO_DRIVER_ARTS)
    1.58                  SOURCES="$SOURCES $srcdir/src/audio/arts/*.c"
    1.59 @@ -577,6 +576,7 @@
    1.60                  fi
    1.61                  if test x$have_loadso = xyes && \
    1.62                     test x$enable_arts_shared = xyes && test x$arts_lib != x; then
    1.63 +                    echo "-- dynamic libartsc -> $arts_lib"
    1.64                      AC_DEFINE_UNQUOTED(SDL_AUDIO_DRIVER_ARTS_DYNAMIC, "$arts_lib")
    1.65                  else
    1.66                      EXTRA_LDFLAGS="$EXTRA_LDFLAGS $ARTS_LIBS"
    1.67 @@ -624,7 +624,6 @@
    1.68  AC_HELP_STRING([--enable-nas-shared], [dynamically load NAS audio support [[default=yes]]]),
    1.69                            , enable_nas_shared=yes)
    1.70              nas_lib=[`find_lib "libaudio.so.*" "$NAS_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
    1.71 -            echo "-- dynamic libaudio -> $nas_lib"
    1.72  
    1.73              if test x$have_loadso != xyes && \
    1.74                 test x$enable_nas_shared = xyes; then
    1.75 @@ -632,6 +631,7 @@
    1.76              fi
    1.77              if test x$have_loadso = xyes && \
    1.78                 test x$enable_nas_shared = xyes && test x$nas_lib != x; then
    1.79 +                echo "-- dynamic libaudio -> $nas_lib"
    1.80                  AC_DEFINE_UNQUOTED(SDL_AUDIO_DRIVER_NAS_DYNAMIC, "$nas_lib")
    1.81              else
    1.82                  EXTRA_LDFLAGS="$EXTRA_LDFLAGS $NAS_LIBS"