summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorPaul Brook2009-05-22 18:22:38 +0200
committerPaul Brook2009-05-22 18:22:38 +0200
commit523685522b06580ceb5f895cb84f686d01d34077 (patch)
treec78cfd257b743e54eea0ff8fdcc26df9094283c4 /configure
parentbios: Use the correct mask to size the PCI option ROM BAR (diff)
downloadqemu-523685522b06580ceb5f895cb84f686d01d34077.tar.gz
qemu-523685522b06580ceb5f895cb84f686d01d34077.tar.xz
qemu-523685522b06580ceb5f895cb84f686d01d34077.zip
Avoid errors when curl-config does not exist
Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'configure')
-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