commit | 523685522b06580ceb5f895cb84f686d01d34077 | [log] [tgz] |
---|---|---|
author | Paul Brook <paul@codesourcery.com> | Fri May 22 17:22:38 2009 +0100 |
committer | Paul Brook <paul@codesourcery.com> | Fri May 22 17:22:38 2009 +0100 |
tree | c78cfd257b743e54eea0ff8fdcc26df9094283c4 | |
parent | 00070396b06392fadcee0e19d499a43b81c63c45 [diff] [blame] |
Avoid errors when curl-config does not exist Signed-off-by: Paul Brook <paul@codesourcery.com>
diff --git a/configure b/configure index 6ab4d80..4729c7f 100755 --- a/configure +++ b/configure
@@ -1073,7 +1073,7 @@ #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