])
AC_SUBST(SONAME_DEFINES)
+AS_IF([test "$RADOSGW" = "1"],
+ [AC_MSG_CHECKING(if curl links with openssl)
+ AC_CHECK_PROG(CURL_CONFIG, curl-config, yes)
+ if test x"${CURL_CONFIG}" == x"yes"; then
+ if curl-config --configure | grep with-ssl; then
+ AC_DEFINE([WITH_CURL_OPENSSL], [1], [Define if curl is linked with ssl])
+ fi
+ else
+ AC_MSG_WARN([curl-config not found, radosgw's outbound ssl requests may be unreliable])
+ fi
+])
+
# fuse?
AC_ARG_WITH([fuse],
[AS_HELP_STRING([--without-fuse], [disable FUSE userspace client])],