summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYehuda Sadeh <yehuda@inktank.com>2013-07-08 18:54:23 -0700
committerYehuda Sadeh <yehuda@inktank.com>2013-07-08 18:54:23 -0700
commit45d3f852495a5e392e4841de54f115443d6f8c78 (patch)
tree9c6169bfce4eb9e8fe809403b801bffc473efffe
parent7b5ec743f03a16bd9a901b754fcb64598e7d6b17 (diff)
downloadceph-45d3f852495a5e392e4841de54f115443d6f8c78.tar.gz
configure.ac: detect whether libcurl supports curl_multi_wait()
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 8a1b1695c90..06fe1573e0a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -232,6 +232,11 @@ AM_CONDITIONAL(WITH_RADOSGW, test "$RADOSGW" = "1")
AS_IF([test "$RADOSGW" = "1"], [AC_DEFINE([WITH_RADOSGW], [1], [define if radosgw enabled])])
+AS_IF([test "$RADOSGW" = "1"],
+ [AC_CHECK_LIB([curl], [curl_multi_wait],
+ AC_DEFINE([HAVE_CURL_MULTI_WAIT], [1], [Define if have curl_multi_wait()]))
+ ])
+
# fuse?
AC_ARG_WITH([fuse],
[AS_HELP_STRING([--without-fuse], [disable FUSE userspace client])],