summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-08-11 16:38:05 +0000
committerLennart Poettering <lennart@poettering.net>2006-08-11 16:38:05 +0000
commitbf854c445ab83a298b8a364c08b0aca9938471f0 (patch)
treefe47d88660ac2ce9b407b43f03e012eeb008c561 /configure.ac
parentdcd3acc0b887dcf3f94569a1984e0217a1ddf581 (diff)
Build HAL support only when either OSS or ALSA is available
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1196 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index bf7425c0..68d9d5d5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -650,7 +650,7 @@ AC_ARG_ENABLE([hal],
],
[hal=auto])
-if test "x${hal}" != xno ; then
+if test "x${hal}" != xno -a \( "x$HAVE_OSS" = "x1" -o "x$HAVE_ALSA" = "x1" \) ; then
PKG_CHECK_MODULES(HAL, [ hal >= 0.5.7 ],
HAVE_HAL=1,
[