summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2015-11-11 15:15:34 +0100
committerPeter Rajnoha <prajnoha@redhat.com>2015-11-11 15:15:50 +0100
commitb8779e706e1019a8e8212d81bde0cc7e42be5426 (patch)
tree99414a00caf6e61f4013ae6b7d44b6e9c0ab2ec3 /include
parentf82e0210b7cb9f3926ef5051ca34a4ad383ba271 (diff)
downloadlvm2-b8779e706e1019a8e8212d81bde0cc7e42be5426.tar.gz
configure: check for udev_device_get_is_initialized is available
The udev_device_get_is_initialized is available since libudev version 165. Older versions are still used somewhere (e.g. RHEL6). So better check for this fn and use it only if it's available.
Diffstat (limited to 'include')
-rw-r--r--include/configure.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configure.h.in b/include/configure.h.in
index cb7771f52..1681af0dd 100644
--- a/include/configure.h.in
+++ b/include/configure.h.in
@@ -258,6 +258,9 @@
/* Define to 1 if you have the <libintl.h> header file. */
#undef HAVE_LIBINTL_H
+/* Define to 1 if udev_device_get_is_initialized is available. */
+#undef HAVE_LIBUDEV_UDEV_DEVICE_GET_IS_INITIALIZED
+
/* Define to 1 if you have the <limits.h> header file. */
#undef HAVE_LIMITS_H