Rename HAVE_LIBCURL to WITH_CURL

This commit is contained in:
Daniel P. Berrange 2013-01-08 21:09:09 +00:00
parent e9f4c675e2
commit d9a2a993dd
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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