]> git.alsa-project.org Git - alsa-lib.git/commitdiff
One more fix
authorJaroslav Kysela <perex@perex.cz>
Thu, 19 Apr 2001 10:46:49 +0000 (10:46 +0000)
committerJaroslav Kysela <perex@perex.cz>
Thu, 19 Apr 2001 10:46:49 +0000 (10:46 +0000)
utils/alsa.m4

index 3384b01a5a1b3606f63929b9a48e13b246e78328..0c3ea11deb236210c54b126aee977d5b72d531d7 100644 (file)
@@ -125,8 +125,9 @@ AC_CHECK_LIB([asound], [snd_defaults_card],,
 
 if test "x$alsa_found" = "xyes" ; then
    ifelse([$2], , :, [$2])
-   LIBS=`echo $LIBS | sed 's/^-lasound //'`
+   LIBS=`echo $LIBS | sed 's/-lasound//g'`
    LIBS=`echo $LIBS | sed 's/  //'`
+   LIBS="-lasound $LIBS"
 fi
 if test "x$alsa_found" = "xno" ; then
    ifelse([$3], , :, [$3])