diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2012-12-09 00:14:20 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-12-09 00:17:30 +0100 |
commit | fc771c9972ed94b7fe7c86c9acaf0c53c1477998 (patch) | |
tree | 08fdcd08fdd6bfc31b1e1ad4df1086c6e3f3b4bd /acinclude.m4 | |
parent | acc35edff7588e97453440b41e477359d2d8f073 (diff) | |
download | bluez-fc771c9972ed94b7fe7c86c9acaf0c53c1477998.tar.gz |
build: Check for existence of udev_hwdb_new function
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 7984a0bd3..39c57c26d 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -121,6 +121,9 @@ 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_CHECK_LIB(udev, udev_hwdb_new, + AC_DEFINE(HAVE_UDEV_HWDB_NEW, 1, + [Define to 1 if you have the udev_hwdb_new() function.])) ]) AC_DEFUN([AC_PATH_READLINE], [ |