diff options
author | Paul Brook <paul@codesourcery.com> | 2009-05-22 17:22:38 +0100 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2009-05-22 17:22:38 +0100 |
commit | 523685522b06580ceb5f895cb84f686d01d34077 (patch) | |
tree | c78cfd257b743e54eea0ff8fdcc26df9094283c4 /configure | |
parent | 00070396b06392fadcee0e19d499a43b81c63c45 (diff) |
Avoid errors when curl-config does not exist
Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |