Fedora Core 3 has libasound.so in /lib
authorSam Lantinga <slouken@libsdl.org>
Mon, 15 Nov 2004 01:47:53 +0000
changeset 973795ac5fbe260
parent 972 15a7d0c44e73
child 974 b8427b5151ed
Fedora Core 3 has libasound.so in /lib
configure.in
     1.1 --- a/configure.in	Sat Nov 13 09:57:20 2004 +0000
     1.2 +++ b/configure.in	Mon Nov 15 01:47:53 2004 +0000
     1.3 @@ -288,11 +288,13 @@
     1.4  [  --enable-alsa-shared     dynamically load ALSA audio support [default=yes]],
     1.5                            , enable_alsa_shared=yes)
     1.6              if test "x`echo $ALSA_LIBS | grep -- -L`" = "x"; then
     1.7 -                if test "x`ls /usr/lib/libasound.so.* 2> /dev/null`" != "x"; then
     1.8 +                if test "x`ls /lib/libasound.so.* 2> /dev/null`" != "x"; then
     1.9 +                    ALSA_LIBS="-L/lib $ALSA_LIBS"
    1.10 +                elif test "x`ls /usr/lib/libasound.so.* 2> /dev/null`" != "x"; then
    1.11                      ALSA_LIBS="-L/usr/lib $ALSA_LIBS"
    1.12 -                else if test "x`ls /usr/local/lib/libasound.so.* 2> /dev/null`" != "x"; then
    1.13 +                elif test "x`ls /usr/local/lib/libasound.so.* 2> /dev/null`" != "x"; then
    1.14                      ALSA_LIBS="-L/usr/local/lib $ALSA_LIBS"
    1.15 -                fi; fi
    1.16 +                fi
    1.17              fi
    1.18              alsa_lib_spec=`echo $ALSA_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libasound.so.*/'`
    1.19              alsa_lib=`ls $alsa_lib_spec | sed 's/.*\/\(.*\)/\1/; q'`