提交 d9a2a993 编写于 作者: D Daniel P. Berrange

Rename HAVE_LIBCURL to WITH_CURL

上级 e9f4c675
...@@ -1871,9 +1871,9 @@ if test "$with_esx" = "yes" || test "$with_esx" = "check" || test "$with_xenapi" ...@@ -1871,9 +1871,9 @@ if test "$with_esx" = "yes" || test "$with_esx" = "check" || test "$with_xenapi"
fi fi
if test "$have_curl" = "yes" ; then if test "$have_curl" = "yes" ; then
AC_DEFINE_UNQUOTED([HAVE_LIBCURL], 1, [whether libcurl is available]) AC_DEFINE_UNQUOTED([WITH_CURL], 1, [whether libcurl is available])
fi fi
AM_CONDITIONAL([HAVE_LIBCURL], [test "$have_curl" = "yes"]) AM_CONDITIONAL([WITH_CURL], [test "$have_curl" = "yes"])
if test "$with_esx" = "yes" ; then if test "$with_esx" = "yes" ; then
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
# include <winsock2.h> # include <winsock2.h>
#endif #endif
#ifdef HAVE_LIBCURL #ifdef WITH_CURL
# include <curl/curl.h> # include <curl/curl.h>
#endif #endif
...@@ -419,7 +419,7 @@ virGlobalInit(void) ...@@ -419,7 +419,7 @@ virGlobalInit(void)
virNetTLSInit(); virNetTLSInit();
#endif #endif
#if HAVE_LIBCURL #if WITH_CURL
curl_global_init(CURL_GLOBAL_DEFAULT); curl_global_init(CURL_GLOBAL_DEFAULT);
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册