Makefile: do not depend on curl-config
commitc5d67b174ede8e5c724daf4ac450f666b956fd97
authorErik Faye-Lund <kusmabite@gmail.com>
Mon, 28 Apr 2014 16:29:05 +0000 (28 18:29 +0200)
committerKarsten Blees <blees@dcon.de>
Sat, 16 Aug 2014 00:59:32 +0000 (16 02:59 +0200)
tree2b8c58d184d5b2b4a44eb85c720f081953ea49b5
parent20ba112c953c921d9f39771417f343007ec045a2
Makefile: do not depend on curl-config

MinGW builds of cURL does not ship with curl-config unless built
with the autoconf based build system, which is not the practice
recommended by the documentation. MsysGit has had issues with
binaries of that sort, so it has switched away from autoconf-based
cURL-builds.

Unfortunately, broke pushing over WebDAV on Windows, because
http-push.c depends on cURL's multi-threaded API, which we could
not determine the presence of any more.

Since troublesome curl-versions are ancient, and not even present
in RedHat 5, let's just assume cURL is capable instead of doing a
non-robust check.

Instead, add a check for curl_multi_init to our configure-script,
for those on ancient system. They probably already need to do the
configure-dance anyway.

Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Makefile
configure.ac