summaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-03-19 19:27:28 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-03-19 19:27:28 +0000
commit37ca3ab5974892ba7a4a87420a70bafa070db812 (patch)
treec255e50a9ec0e72402e379012411270313444d1e /acinclude.m4
parentd56a98ac7b81e416b7f9e43ae7dfcb7b6a573dd1 (diff)
Check for HAL support
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index d8fafb3e..2eac9315 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -121,6 +121,12 @@ AC_DEFUN([AC_PATH_ALSA], [
AC_SUBST(ALSA_LIBS)
])
+AC_DEFUN([AC_PATH_HAL], [
+ PKG_CHECK_MODULES(HAL, hal >= 0.5.8, hal_found=yes, hal_found=no)
+ AC_SUBST(HAL_CFLAGS)
+ AC_SUBST(HAL_LIBS)
+])
+
AC_DEFUN([AC_PATH_USB], [
PKG_CHECK_MODULES(USB, libusb, usb_found=yes, usb_found=no)
AC_SUBST(USB_CFLAGS)