include a few HAL properties in our card/sink/source properties for ALSA devices

This commit is contained in:
Lennart Poettering 2009-01-24 01:25:11 +01:00
parent 54dad91f07
commit a365c8212d
11 changed files with 186 additions and 10 deletions

View file

@ -916,7 +916,10 @@ AC_ARG_ENABLE([hal],
[hal=auto])
if test "x${hal}" != xno -a \( "x$HAVE_OSS" = "x1" -o "x$HAVE_ALSA" = "x1" \) ; then
PKG_CHECK_MODULES(HAL, [ hal >= 0.5.11 ],
HAVE_HAL=1,
[
HAVE_HAL=1
AC_DEFINE([HAVE_HAL], 1, [Have HAL.])
],
[
HAVE_HAL=0
if test "x$hal" = xyes ; then