projects
/
connman
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
836075a
)
Fix compilation with old D-Bus 1.0.x installations
author
Marcel Holtmann
<marcel@holtmann.org>
Mon, 6 Apr 2009 09:33:18 +0000
(11:33 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Mon, 6 Apr 2009 09:33:18 +0000
(11:33 +0200)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
16025ac
..
80c4611
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-203,6
+203,9
@@
fi
PKG_CHECK_MODULES(DBUS, dbus-1 >= 1.0, dummy=yes,
AC_MSG_ERROR(D-Bus >= 1.0 is required))
+AC_CHECK_LIB(dbus-1, dbus_watch_get_unix_fd, dummy=yes,
+ AC_DEFINE(NEED_DBUS_WATCH_GET_UNIX_FD, 1,
+ [Define to 1 if you need the dbus_watch_get_unix_fd() function.]))
AC_SUBST(DBUS_CFLAGS)
AC_SUBST(DBUS_LIBS)
DBUS_DATADIR="`$PKG_CONFIG --variable=sysconfdir dbus-1`"