Commit 523685522b06580ceb5f895cb84f686d01d34077
1 parent
00070396
Avoid errors when curl-config does not exist
Signed-off-by: Paul Brook <paul@codesourcery.com>
Showing
1 changed file
with
1 additions
and
1 deletions
configure
... | ... | @@ -1073,7 +1073,7 @@ if test "$curl" = "yes" ; then |
1073 | 1073 | #include <curl/curl.h> |
1074 | 1074 | int main(void) { return curl_easy_init(); } |
1075 | 1075 | EOF |
1076 | - curl_libs=`curl-config --libs` | |
1076 | + curl_libs=`curl-config --libs 2>/dev/null` | |
1077 | 1077 | if $cc $ARCH_CFLAGS $curl_libs -o $TMPE $TMPC > /dev/null 2> /dev/null ; then |
1078 | 1078 | curl=yes |
1079 | 1079 | fi | ... | ... |