]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Added pthread library
authorJaroslav Kysela <perex@perex.cz>
Tue, 18 Dec 2001 07:00:57 +0000 (07:00 +0000)
committerJaroslav Kysela <perex@perex.cz>
Tue, 18 Dec 2001 07:00:57 +0000 (07:00 +0000)
utils/alsa.m4

index 0ddbb292727d39512ecc1a056d3e6ded059cb9f7..5cde42a0004ef19981be64b9240dabb93de0b8d1 100644 (file)
@@ -52,9 +52,10 @@ if test "$alsa_prefix" != "" ; then
 fi
 
 dnl add the alsa library
-ALSA_LIBS="$ALSA_LIBS -lasound -lm -ldl"
+ALSA_LIBS="$ALSA_LIBS -lasound -lm -ldl -lpthread"
 LIBS=`echo $LIBS | sed 's/-lm//'`
 LIBS=`echo $LIBS | sed 's/-ldl//'`
+LIBS=`echo $LIBS | sed 's/-lpthread//'`
 LIBS=`echo $LIBS | sed 's/  //'`
 LIBS="$ALSA_LIBS $LIBS"
 AC_MSG_RESULT($ALSA_LIBS)