From: Jaroslav Kysela Date: Thu, 19 Apr 2001 10:46:49 +0000 (+0000) Subject: One more fix X-Git-Tag: v1.0.3~876 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=bd9958168d41671d9b865ef99430e0eff50cc276;p=alsa-lib.git One more fix --- diff --git a/utils/alsa.m4 b/utils/alsa.m4 index 3384b01a..0c3ea11d 100644 --- a/utils/alsa.m4 +++ b/utils/alsa.m4 @@ -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])