Avoid errors when curl-config does not exist

Signed-off-by: Paul Brook <paul@codesourcery.com>
master
Paul Brook 2009-05-22 17:22:38 +01:00
parent 00070396b0
commit 523685522b
1 changed files with 1 additions and 1 deletions

2
configure vendored
View File

@ -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