diff options
author | Joey Hess <joey@kitenet.net> | 2011-03-17 11:57:03 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-03-17 11:57:03 -0400 |
commit | 8543d9add4c717987ce4b8bbd44b285b4963c125 (patch) | |
tree | 05d3ec15d0c6bc0753f20ff0d1b958926cbce49c /doc | |
parent | 7b5b1276085be3d2c12c8c28b7be1aceccae44f9 (diff) |
check for curl in configure, thanks Jimmy
Diffstat (limited to 'doc')
-rw-r--r-- | doc/bugs/check_for_curl_in_configure.hs.mdwn | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/bugs/check_for_curl_in_configure.hs.mdwn b/doc/bugs/check_for_curl_in_configure.hs.mdwn index ee24769ce..18edabe5e 100644 --- a/doc/bugs/check_for_curl_in_configure.hs.mdwn +++ b/doc/bugs/check_for_curl_in_configure.hs.mdwn @@ -14,8 +14,21 @@ index 772ba54..1a563e0 100644 ] ++ shaTestCases [1, 256, 512, 224, 384] </pre> +> Well, curl is an optional extra, so requireCmd is too strong. Changed +> to testCmd and applied, thank you! +> +> I thought about actually *using* the resulting SysConfig.curl +> to disable the URL backend if False.. but probably it's better +> to just let it fail if curl is not available. Although, if we wanted +> to add a check for wget or something and use it when curl was not +> available, that might be worth doing. --[[Joey]] + also in Backend/URL.hs is it worth making a minor change to the way curl is called (I'm not sure if the following is correct or not) +> It's correct, typewise, but I don't see any real reason to bother +> with the change. But I do appreciate patches, which have been rare +> so far, probaby because of Haskell.. :) --[[Joey]] + <pre> diff --git a/Backend/URL.hs b/Backend/URL.hs index 29dc8fe..4afcf86 100644 |