From: Yehuda Sadeh Date: Tue, 9 Jul 2013 01:54:23 +0000 (-0700) Subject: configure.ac: detect whether libcurl supports curl_multi_wait() X-Git-Tag: v0.67-rc1~128^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=73c2a3dcd35e909497d34a826dc1bc2764557e34;p=ceph.git configure.ac: detect whether libcurl supports curl_multi_wait() Signed-off-by: Yehuda Sadeh --- diff --git a/configure.ac b/configure.ac index 779ecef276cd..12991f2854e5 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])],