From: "Daniel P. Berrange" <berrange@xxxxxxxxxx> --- configure.ac | 4 ++-- src/libvirt.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index d7b6810..a1c80c1 100644 --- a/configure.ac +++ b/configure.ac @@ -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 diff --git a/src/libvirt.c b/src/libvirt.c index 1490738..7db677f 100644 --- a/src/libvirt.c +++ b/src/libvirt.c @@ -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 -- 1.7.11.7 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list