cURL / Mailing Lists / curl-library / Single Mail

curl-library

CMake build patch - updated version.

From: Tetetest <tetetest_at_rambler.ru>
Date: Tue, 30 Mar 2010 23:04:21 +0400

Hello,

Attached is the patch for CMake build system for CURL. The patch is
against the head of git repository (well, its yesterday's head:).

A short summary of fixes:

- minimum required version of CMake changed to any 2.6. It said 2.6.2
  before, but the build does not rely upon any features introduced in
  this particular version. Any 2.6.x will do.

- CURL_PULL_*_H definitions are now defined by the configuration
  script. This fixes build problems on OpenSolaris.

- File include/curl/curlbuild.h is removed before configuring. This
  fixes both in-source builds (the file is generated correctly) and
  out-of-source builds (curl/curl.h includes correct header file).

- Fixed check_type_size(curl_off_t), which always failed because of
  incorrect include path passed to the test.

- For Win32, force socklen_t to be int. This allows us not to include
  <winsock2.h> in curlbuild.h, which may cause build errors in some
  circumstances if included after <winsock.h>.

Hope you will find the patch useful.

-- 
Best regards,
 Tetetest                          mailto:tetetest_at_rambler.ru


-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2010-03-30