Makefile: do not depend on curl-config
commit93671b0c6aa7071c0dc72f6e2e67f647b72c132d
authorErik Faye-Lund <kusmabite@gmail.com>
Mon, 28 Apr 2014 16:29:05 +0000 (28 18:29 +0200)
committerStepan Kasal <kasal@ucw.cz>
Thu, 29 May 2014 08:39:35 +0000 (29 10:39 +0200)
tree3eb58f9a1153881785be519cdafc367acc2c2f0f
parentec765f62e21aa1d3f2ad565a93844758021cc68d
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