mirror of
https://github.com/qemu/qemu.git
synced 2024-12-18 09:43:38 +08: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
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…
Reference in New Issue
Block a user