aboutsummaryrefslogtreecommitdiff
path: root/audio/adplay/files/patch-acinclude.m4
blob: 0a1636dfd0e7e17ee50505f0ba09b7143b8a7113 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- acinclude.m4.orig	2010-01-01 08:21:00 UTC
+++ acinclude.m4
@@ -422,7 +422,7 @@ if test "$alsa_prefix" != "" ; then
 fi
 
 dnl add the alsa library
-ALSA_LIBS="$ALSA_LIBS -lasound -lm -ldl -lpthread"
+ALSA_LIBS="$ALSA_LIBS -lasound -lm -lpthread"
 LIBS="$ALSA_LIBS $LIBS"
 AC_MSG_RESULT($ALSA_LIBS)
 
@@ -541,7 +541,7 @@ AC_ARG_ENABLE(aotest, [  --disable-aotes
 
   # see where dl* and friends live
   AC_CHECK_FUNCS(dlopen, [AO_DL_LIBS=""], [
-    AC_CHECK_LIB(dl, dlopen, [AO_DL_LIBS="-ldl"], [
+    AC_CHECK_LIB(dl, dlopen, [
       AC_MSG_WARN([could not find dlopen() needed by libao sound drivers
       your system may not be supported.])
     ])