chiark
/
gitweb
/
~mdw
/
disorder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9086a10
)
non-server builds want alsa too now
author
Richard Kettlewell
<rjk@greenend.org.uk>
Mon, 17 Sep 2007 07:42:14 +0000
(08:42 +0100)
committer
Richard Kettlewell
<rjk@greenend.org.uk>
Mon, 17 Sep 2007 07:42:14 +0000
(08:42 +0100)
configure.ac
patch
|
blob
|
blame
|
history
diff --git
a/configure.ac
b/configure.ac
index 466f232ed07a850d3aa8bb9aea17a0c3cf370c9c..03848937f4f4bef9be981a6cc5255ab3fbb9bfae 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-144,12
+144,12
@@
if test $want_server = yes; then
AC_CHECK_LIB([ao], [ao_initialize],
[AC_SUBST(LIBAO,[-lao])],
[missing_libraries="$missing_libraries libao"])
AC_CHECK_LIB([ao], [ao_initialize],
[AC_SUBST(LIBAO,[-lao])],
[missing_libraries="$missing_libraries libao"])
- if test $want_alsa = yes; then
- AC_CHECK_LIB([asound], [snd_pcm_open],
-
[AC_SUBST(LIBASOUND,[-lasound])
],
- [missing_libraries="$missing_libraries libasound"])
-
AC_DEFINE([API_ALSA],[1],[define to use the ALSA API
])
- fi
+fi
+if test $want_alsa = yes; then
+
AC_CHECK_LIB([asound], [snd_pcm_open
],
+ [AC_SUBST(LIBASOUND,[-lasound])],
+
[missing_libraries="$missing_libraries libasound"
])
+ AC_DEFINE([API_ALSA],[1],[define to use the ALSA API])
fi
if test $want_gtk = yes; then
fi
if test $want_gtk = yes; then