mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Working replacement
This commit is contained in:
parent
ad9f4cd3a6
commit
199d3e4277
1 changed files with 5 additions and 3 deletions
|
|
@ -53,9 +53,9 @@ fi
|
||||||
|
|
||||||
dnl add the alsa library
|
dnl add the alsa library
|
||||||
ALSA_LIBS="$ALSA_LIBS -lasound -lm -ldl"
|
ALSA_LIBS="$ALSA_LIBS -lasound -lm -ldl"
|
||||||
LIBS=patsubst("$LIBS", "-lm")
|
LIBS=`echo $LIBS | sed 's/-lm//'`
|
||||||
LIBS=patsubst("$LIBS", "-ldl")
|
LIBS=`echo $LIBS | sed 's/-ldl//'`
|
||||||
LIBS=patsubst("$LIBS", " ")
|
LIBS=`echo $LIBS | sed 's/ //'`
|
||||||
LIBS="$ALSA_LIBS $LIBS"
|
LIBS="$ALSA_LIBS $LIBS"
|
||||||
AC_MSG_RESULT($ALSA_LIBS)
|
AC_MSG_RESULT($ALSA_LIBS)
|
||||||
|
|
||||||
|
|
@ -125,6 +125,8 @@ AC_CHECK_LIB([asound], [snd_defaults_card],,
|
||||||
|
|
||||||
if test "x$alsa_found" = "xyes" ; then
|
if test "x$alsa_found" = "xyes" ; then
|
||||||
ifelse([$2], , :, [$2])
|
ifelse([$2], , :, [$2])
|
||||||
|
LIBS=`echo $LIBS | sed 's/^-lasound //'`
|
||||||
|
LIBS=`echo $LIBS | sed 's/ //'`
|
||||||
fi
|
fi
|
||||||
if test "x$alsa_found" = "xno" ; then
|
if test "x$alsa_found" = "xno" ; then
|
||||||
ifelse([$3], , :, [$3])
|
ifelse([$3], , :, [$3])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue