summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2009-05-22 17:22:38 +0100
committerPaul Brook <paul@codesourcery.com>2009-05-22 17:22:38 +0100
commit523685522b06580ceb5f895cb84f686d01d34077 (patch)
treec78cfd257b743e54eea0ff8fdcc26df9094283c4
parent00070396b06392fadcee0e19d499a43b81c63c45 (diff)
downloadfocaccia-qemu-523685522b06580ceb5f895cb84f686d01d34077.tar.gz
focaccia-qemu-523685522b06580ceb5f895cb84f686d01d34077.zip
Avoid errors when curl-config does not exist
Signed-off-by: Paul Brook <paul@codesourcery.com>
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 6ab4d808bf..4729c7fa35 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