Skip to content

Commit

Permalink
Fixed bug #732
Browse files Browse the repository at this point in the history
If no -L is present in the library spec, try /usr/lib
  • Loading branch information
slouken committed Sep 23, 2009
1 parent 2b9690c commit 6d63d7b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions configure.in
Expand Up @@ -360,6 +360,9 @@ AC_HELP_STRING([--enable-alsa-shared], [dynamically load ALSA audio support [[de
fi
fi
alsa_lib_spec=`echo $ALSA_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libasound.so.*/'`
if [ x$alsa_lib_spec = x ]; then
alsa_lib_spec="/usr/$base_libdir/libasound.so.*"
fi
alsa_lib=`ls -- $alsa_lib_spec | sed 's/.*\/\(.*\)/\1/; q'`
echo "-- $alsa_lib_spec -> $alsa_lib"

Expand Down Expand Up @@ -456,6 +459,9 @@ AC_HELP_STRING([--enable-esd], [support the Enlightened Sound Daemon [[default=y
AC_HELP_STRING([--enable-esd-shared], [dynamically load ESD audio support [[default=yes]]]),
, enable_esd_shared=yes)
esd_lib_spec=`echo $ESD_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libesd.so.*/'`
if [ x$esd_lib_spec = x ]; then
esd_lib_spec="/usr/$base_libdir/libesd.so.*"
fi
esd_lib=`ls -- $esd_lib_spec | sed 's/.*\/\(.*\)/\1/; q'`
echo "-- $esd_lib_spec -> $esd_lib"

Expand Down Expand Up @@ -513,6 +519,9 @@ AC_HELP_STRING([--enable-pulseaudio-shared], [dynamically load PulseAudio suppor
fi
fi
pulse_lib_spec=`echo $PULSE_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libpulse-simple.so.*/'`
if [ x$pulse_lib_spec = x ]; then
pulse_lib_spec="/usr/$base_libdir/libpulse-simple.so.*"
fi
pulse_lib=`ls -- $pulse_lib_spec | sed 's/.*\/\(.*\)/\1/; q'`
echo "-- $pulse_lib_spec -> $pulse_lib"

Expand Down Expand Up @@ -633,6 +642,9 @@ AC_HELP_STRING([--enable-nas-shared], [dynamically load NAS audio support [[defa
fi
fi
nas_lib_spec=`echo $NAS_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libaudio.so.*/'`
if [ x$nas_lib_spec = x ]; then
nas_lib_spec="/usr/$base_libdir/libaudio.so.*"
fi
nas_lib=`ls -- $nas_lib_spec | sed 's/.*\/\(.*\)/\1/; q'`
echo "-- $nas_lib_spec -> $nas_lib"

Expand Down

0 comments on commit 6d63d7b

Please sign in to comment.