projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3dffa6f
)
configure.in: Check for libmongoc.
author
Ryan Cox
<ryan.a.cox@gmail.com>
Wed, 3 Nov 2010 13:04:09 +0000
(14:04 +0100)
committer
Chris Lundquist
<chris.lundquist@bluebox.net>
Tue, 24 Jan 2012 19:53:22 +0000
(11:53 -0800)
configure.in
patch
|
blob
|
history
diff --git
a/configure.in
b/configure.in
index
9b6397f
..
6a8899e
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-1241,6
+1241,15
@@
AC_CHECK_MEMBERS([kstat_io_t.nwritten, kstat_io_t.writes, kstat_io_t.nwrites, ks
#
# Checks for libraries begin here
#
+
+with_libmongoc="yes"
+AC_CHECK_LIB(mongoc, mongo_run_command,
+[
+ AC_DEFINE(HAVE_LIBMONGOC, 1, [Define to 1 if you have the 'mongoc' library (-lmongoc).])
+],
+[with_libmongoc="no"])
+AM_CONDITIONAL(BUILD_WITH_LIBMONGOC, test "x$with_libmongoc" = "xyes")
+
with_libresolv="yes"
AC_CHECK_LIB(resolv, res_search,
[