curl/CMake
Peter Wu 5565d0ab07 cmake: fix struct sockaddr_storage check
CHECK_TYPE_SIZE_PREINCLUDE is an internal, undocumented variable which
was removed in cmake 2.8.1. According to the MSDN docs[1], inclusion
of winsock2.h is sufficient. WIN32_LEAN_AND_MEAN does not really seem
to affect the tests, so remove it too[2].

For the non-windows case, remove inet headers as POSIX only requires
sys/socket.h.

 [1]: http://msdn.microsoft.com/en-us/library/windows/desktop/ms740504%28v=vs.85%29.aspx
 [2]: http://stackoverflow.com/questions/11040133/what-does-defining-win32-lean-and-mean-exclude-exactly

Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-11-03 09:10:54 +01:00
..
Platforms cmake: drop _BSD_SOURCE macro usage 2014-11-03 09:10:54 +01:00
CMakeConfigurableFile.in Initial CMake scripts (libcurl only), based on the merge of tetest scripts and mine. These are far to be functionnal yet. 2009-04-02 13:14:53 +00:00
CurlTests.c cmake: fix gethostby{addr,name}_r in CurlTests 2014-11-03 09:10:54 +01:00
FindCARES.cmake removed execute file permission 2011-12-30 03:53:25 +01:00
FindGSS.cmake Cmake: Build with GSSAPI (MIT or Heimdal) 2014-10-09 13:48:31 +02:00
FindLibSSH2.cmake Cmake: LibSSH2 detection and use. 2014-08-25 12:44:24 +02:00
Macros.cmake Cmake: Avoid cycle directory dependencies. 2014-10-09 13:48:30 +02:00
OtherTests.cmake cmake: fix struct sockaddr_storage check 2014-11-03 09:10:54 +01:00
Utilities.cmake ENH: lower case cmake functions and remove tabs and re-indent cmake code 2009-06-09 17:29:16 +00:00