summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-04-28 11:08:47 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2011-04-28 12:54:31 -0700
commit94b0a8f405a591e6b082589e3f06ec9db747af31 (patch)
tree60dff402a55ffb2e0163e4728953ffa341037379 /acinclude.m4
parent36cd74bfa743d3d9661306834f625396f3e98d87 (diff)
downloadbluez-94b0a8f405a591e6b082589e3f06ec9db747af31.tar.gz
Update hid2hci tool from udev codebase
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 22fcd5cdc..a27cd22a8 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -148,6 +148,12 @@ AC_DEFUN([AC_PATH_USB], [
[Define to 1 if you need the usb_interrupt_read() function.]))
])
+AC_DEFUN([AC_PATH_UDEV], [
+ PKG_CHECK_MODULES(UDEV, libudev, udev_found=yes, udev_found=no)
+ AC_SUBST(UDEV_CFLAGS)
+ AC_SUBST(UDEV_LIBS)
+])
+
AC_DEFUN([AC_PATH_SNDFILE], [
PKG_CHECK_MODULES(SNDFILE, sndfile, sndfile_found=yes, sndfile_found=no)
AC_SUBST(SNDFILE_CFLAGS)