configure: more robust test for libcurl
commit2d1d45f31396f35716e0ffaf62986fdf134a6270
authorygrek <ygrek@autistici.org>
Sun, 10 Mar 2013 08:59:07 +0000 (10 16:59 +0800)
committerygrek <ygrek@autistici.org>
Sun, 10 Mar 2013 08:59:07 +0000 (10 16:59 +0800)
treee19c4ce755ca4da439e400ed62ff60158b7bc675
parent5eebbd97a7faa30860d54d24b47e5f84ccd6122c
configure: more robust test for libcurl

Use pkg-config, fallback to curl-config.
Do not strip -L options from linking flags (ocamlmklib understands them fine)
configure
configure.in