mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
Avoid errors when curl-config does not exist
Signed-off-by: Paul Brook <paul@codesourcery.com>
This commit is contained in:
parent
00070396b0
commit
523685522b
1 changed files with 1 additions and 1 deletions
2
configure
vendored
2
configure
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue