mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 19:32:19 +00:00
Rename HAVE_LIBCURL to WITH_CURL
This commit is contained in:
parent
e9f4c675e2
commit
d9a2a993dd
@ -1871,9 +1871,9 @@ if test "$with_esx" = "yes" || test "$with_esx" = "check" || test "$with_xenapi"
|
||||
fi
|
||||
|
||||
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
|
||||
AM_CONDITIONAL([HAVE_LIBCURL], [test "$have_curl" = "yes"])
|
||||
AM_CONDITIONAL([WITH_CURL], [test "$have_curl" = "yes"])
|
||||
|
||||
|
||||
if test "$with_esx" = "yes" ; then
|
||||
|
@ -41,7 +41,7 @@
|
||||
# include <winsock2.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LIBCURL
|
||||
#ifdef WITH_CURL
|
||||
# include <curl/curl.h>
|
||||
#endif
|
||||
|
||||
@ -419,7 +419,7 @@ virGlobalInit(void)
|
||||
virNetTLSInit();
|
||||
#endif
|
||||
|
||||
#if HAVE_LIBCURL
|
||||
#if WITH_CURL
|
||||
curl_global_init(CURL_GLOBAL_DEFAULT);
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user