diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-11-24 16:47:33 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-11-24 16:47:33 +0100 |
commit | 6c02327fffc01f95d0bed62b36cf2a9c26ea642e (patch) | |
tree | 38a2720ec66c6fa72d41384f462e1c77fd64d0c4 /configure.ac | |
parent | aeea2a47158da318eeb017d8ae028d5c23024647 (diff) | |
download | connman-6c02327fffc01f95d0bed62b36cf2a9c26ea642e.tar.gz connman-6c02327fffc01f95d0bed62b36cf2a9c26ea642e.tar.bz2 connman-6c02327fffc01f95d0bed62b36cf2a9c26ea642e.zip |
Add check for udev library
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 48074201..bcb38ea4 100644 --- a/configure.ac +++ b/configure.ac @@ -74,6 +74,11 @@ AC_SUBST(DBUS_LIBS) AC_SUBST([GDBUS_CFLAGS], ['$(DBUS_CFLAGS) -I$(top_srcdir)/gdbus']) AC_SUBST([GDBUS_LIBS], ['$(top_builddir)/gdbus/libgdbus.la $(DBUS_LIBS)']) +PKG_CHECK_MODULES(UDEV, libudev >= 130, udev_found=yes, udev_found=no) +AC_SUBST(UDEV_CFLAGS) +AC_SUBST(UDEV_LIBS) +AM_CONDITIONAL(UDEV, test "${udev_found}" = "yes") + PKG_CHECK_MODULES(POLKIT, polkit-dbus >= 0.7, polkit_found=yes, polkit_found=no) AC_SUBST(POLKIT_CFLAGS) AC_SUBST(POLKIT_LIBS) |