]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
Rename HAVE_LIBCURL to WITH_CURL
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 8 Jan 2013 21:09:09 +0000 (21:09 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 14 Jan 2013 13:29:19 +0000 (13:29 +0000)
configure.ac
src/libvirt.c

index d7b68100e667e08e516a0aa8bbecc6626cb2249e..a1c80c17d7574e6d84deac1b973621123040c64d 100644 (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
index 1490738defe1691bdfbff862e2f884c6e1d359bd..7db677f36618a07eac52b3e02d74a9f8372c2e8c 100644 (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