Makefile: do not depend on curl-config
commit1f948db5f17e02e99fb303291e33db5344f749f1
authorErik Faye-Lund <kusmabite@gmail.com>
Mon, 28 Apr 2014 16:29:05 +0000 (28 18:29 +0200)
committerStepan Kasal <kasal@ucw.cz>
Thu, 15 May 2014 07:40:27 +0000 (15 09:40 +0200)
tree0c4a7b4ed04af1bb3d7bb3e9b22e02bc9edfd7cd
parent94696668a7cd46bc0a9e43c0496445d227d7bf98
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