From d9a2a993dd951d1e7579b6a9260d9a6c0e33748a Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Tue, 8 Jan 2013 21:09:09 +0000 Subject: [PATCH] Rename HAVE_LIBCURL to WITH_CURL --- configure.ac | 4 ++-- src/libvirt.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index d7b68100e6..a1c80c17d7 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 1490738def..7db677f366 100644 --- a/src/libvirt.c +++ b/src/libvirt.c @@ -41,7 +41,7 @@ # include #endif -#ifdef HAVE_LIBCURL +#ifdef WITH_CURL # include #endif @@ -419,7 +419,7 @@ virGlobalInit(void) virNetTLSInit(); #endif -#if HAVE_LIBCURL +#if WITH_CURL curl_global_init(CURL_GLOBAL_DEFAULT); #endif -- 2.39.5