diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-07-03 13:39:43 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-07-03 13:39:43 -0700 |
commit | 86d80bd128016ec8c0354278e7816b2b184e0fc2 (patch) | |
tree | 6181c50968b1261704b8b18cc791a5e950061b4b /configure.ac | |
parent | d15bc1710108f58d11e229d33a2df95da91c8d79 (diff) | |
download | connman-86d80bd128016ec8c0354278e7816b2b184e0fc2.tar.gz connman-86d80bd128016ec8c0354278e7816b2b184e0fc2.tar.bz2 connman-86d80bd128016ec8c0354278e7816b2b184e0fc2.zip |
Require at minimum udev-141
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/configure.ac b/configure.ac index eb9cb454..f65f828f 100644 --- a/configure.ac +++ b/configure.ac @@ -199,17 +199,8 @@ AC_ARG_ENABLE(udev, AC_HELP_STRING([--enable-udev], [enable udev support]), [enable_udev=${enableval}]) if (test "${enable_udev}" = "yes"); then AC_DEFINE(HAVE_UDEV, 1, [Define if udev support is available]) - PKG_CHECK_MODULES(UDEV, libudev >= 129, dummy=yes, - AC_MSG_ERROR(udev >= 129 is required)) - AC_CHECK_LIB(udev, udev_enumerate_add_match_property, dummy=yes, - AC_DEFINE(NEED_UDEV_ENUMERATE_ADD_MATCH_PROPERTY, 1, - [Define to 1 if you need the - udev_enumerate_add_match_property() function.])) - AC_CHECK_LIB(udev, udev_device_get_parent_with_subsystem_devtype, dummy=yes, - AC_DEFINE(NEED_UDEV_DEVICE_GET_PARENT_WITH_SUBSYSTEM_DEVTYPE, 1, - [Define to 1 if you need the - udev_device_get_parent_with_subsystem_devtype() - function.])) + PKG_CHECK_MODULES(UDEV, libudev >= 141, dummy=yes, + AC_MSG_ERROR(udev >= 141 is required)) UDEV_DATADIR="`$PKG_CONFIG --variable=rulesdir libudev`" if (test -z "${UDEV_DATADIR}"); then UDEV_DATADIR="${sysconfdir}/udev/rules.d" |