projects
/
profile
/
ivi
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aeea2a4
)
Add check for udev library
author
Marcel Holtmann
<marcel@holtmann.org>
Mon, 24 Nov 2008 15:47:33 +0000
(16:47 +0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Mon, 24 Nov 2008 15:47:33 +0000
(16:47 +0100)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
4807420
..
bcb38ea
100644
(file)
--- 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)