mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-23 03:42: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
|
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 @@
|
|||||||
# 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)
|
|||||||
virNetTLSInit();
|
virNetTLSInit();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HAVE_LIBCURL
|
#if WITH_CURL
|
||||||
curl_global_init(CURL_GLOBAL_DEFAULT);
|
curl_global_init(CURL_GLOBAL_DEFAULT);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user