aboutsummaryrefslogtreecommitdiff
path: root/configure
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 /configure
parent00070396b06392fadcee0e19d499a43b81c63c45 (diff)
downloadqemu-523685522b06580ceb5f895cb84f686d01d34077.zip
qemu-523685522b06580ceb5f895cb84f686d01d34077.tar.gz
qemu-523685522b06580ceb5f895cb84f686d01d34077.tar.bz2
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 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