qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [COMMIT 5236855] Avoid errors when curl-config does not e


From: Anthony Liguori
Subject: [Qemu-commits] [COMMIT 5236855] Avoid errors when curl-config does not exist
Date: Fri, 22 May 2009 16:25:10 -0000

From: Paul Brook <address@hidden>

Signed-off-by: Paul Brook <address@hidden>

diff --git a/configure b/configure
index 6ab4d80..4729c7f 100755
--- a/configure
+++ b/configure
@@ -1073,7 +1073,7 @@ if test "$curl" = "yes" ; then
 #include <curl/curl.h>
 int main(void) { return curl_easy_init(); }
 EOF
-  curl_libs=`curl-config --libs`
+  curl_libs=`curl-config --libs 2>/dev/null`
  if $cc $ARCH_CFLAGS $curl_libs -o $TMPE $TMPC > /dev/null 2> /dev/null ; then
     curl=yes
   fi




reply via email to

[Prev in Thread] Current Thread [Next in Thread]