Minimal Curl version check is required
Please add a minimal Curl version check (7.32.0 i think), because build fails with '7.29.0':
In file included from Utility/CurlHttp.h:29:0,
from Utility/CurlHttp.cpp:26:
Utility/CurlHttp.cpp: In member function 'std::unique_ptr<void, cloudstorage::curl::CurlDeleter> cloudstorage::curl::CurlHttpRequest::init() const':
Utility/CurlHttp.cpp:204:34: error: 'CURLOPT_XFERINFOFUNCTION' was not declared in this scope
curl_easy_setopt(handle.get(), CURLOPT_XFERINFOFUNCTION, progress_callback);
^
Utility/CurlHttp.cpp:204:34: note: suggested alternative: 'CURLOPT_WRITEFUNCTION'
Utility/CurlHttp.cpp:206:56: error: 'CURL_HTTP_VERSION_2_0' was not declared in this scope
curl_easy_setopt(handle.get(), CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_2_0);
^
Utility/CurlHttp.cpp:206:56: note: suggested alternative: 'CURL_HTTP_VERSION_1_0'
Utility/CurlHttp.cpp: In member function 'cloudstorage::curl::RequestData::Pointer cloudstorage::curl::CurlHttpRequest::prepare(cloudstorage::IHttpRequest::CompleteCallback, std::shared_ptr<std::basic_istream<char> >, std::shared_ptr<std::basic_ostream<char> >, std::shared_ptr<std::basic_ostream<char> >, cloudstorage::IHttpRequest::ICallback::Pointer) const':
Utility/CurlHttp.cpp:259:28: error: 'CURLOPT_XFERINFODATA' was not declared in this scope
curl_easy_setopt(handle, CURLOPT_XFERINFODATA, callback.get());
^
Utility/CurlHttp.cpp:259:28: note: suggested alternative: 'CURLOPT_WRITEDATA'
make[1]: *** [Makefile:734: Utility/CurlHttp.lo] Error 1