blob: 1b0f8a8df9cb89b618f0c0ab651bd6c7200ca7bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- advancemenu-2.6.orig/configure.ac
+++ advancemenu-2.6/configure.ac
@@ -512,7 +512,7 @@
[snd_pcm_open],
[ac_lib_alsa=yes],
[ac_lib_alsa=no],
- [-lm]
+ [`pkg-config alsa --libs`]
)
if test $ac_lib_alsa = yes; then
AC_MSG_CHECKING([for ALSA])
@@ -531,7 +531,7 @@
[snd_pcm_open],
[],
[AC_MSG_ERROR([the ALSA library is missing])],
- [-lm]
+ [`pkg-config alsa --libs`]
)
AC_MSG_CHECKING([for ALSA version])
AC_TRY_COMPILE([
|