Commit 06423668 authored by Sam Lantinga's avatar Sam Lantinga

Fedora Core 3 has libasound.so in /lib

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40974
parent 484cfb0a
...@@ -288,11 +288,13 @@ CheckALSA() ...@@ -288,11 +288,13 @@ CheckALSA()
[ --enable-alsa-shared dynamically load ALSA audio support [default=yes]], [ --enable-alsa-shared dynamically load ALSA audio support [default=yes]],
, enable_alsa_shared=yes) , enable_alsa_shared=yes)
if test "x`echo $ALSA_LIBS | grep -- -L`" = "x"; then if test "x`echo $ALSA_LIBS | grep -- -L`" = "x"; then
if test "x`ls /usr/lib/libasound.so.* 2> /dev/null`" != "x"; then if test "x`ls /lib/libasound.so.* 2> /dev/null`" != "x"; then
ALSA_LIBS="-L/lib $ALSA_LIBS"
elif test "x`ls /usr/lib/libasound.so.* 2> /dev/null`" != "x"; then
ALSA_LIBS="-L/usr/lib $ALSA_LIBS" ALSA_LIBS="-L/usr/lib $ALSA_LIBS"
else if test "x`ls /usr/local/lib/libasound.so.* 2> /dev/null`" != "x"; then elif test "x`ls /usr/local/lib/libasound.so.* 2> /dev/null`" != "x"; then
ALSA_LIBS="-L/usr/local/lib $ALSA_LIBS" ALSA_LIBS="-L/usr/local/lib $ALSA_LIBS"
fi; fi fi
fi fi
alsa_lib_spec=`echo $ALSA_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libasound.so.*/'` alsa_lib_spec=`echo $ALSA_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libasound.so.*/'`
alsa_lib=`ls $alsa_lib_spec | sed 's/.*\/\(.*\)/\1/; q'` alsa_lib=`ls $alsa_lib_spec | sed 's/.*\/\(.*\)/\1/; q'`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment