1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00
curl/CMake
Brad King 1ae06e002d CMake: Restore order-dependent header checks
Revert commit 1269df2e3b (Cmake: Don't check for all headers each
time, 2014-08-15) and add a comment explaining the purpose of the
original code.

The check_include_file_concat macro is intended to be called multiple
times on a sequence of possibly dependent headers.  Later headers
may depend on earlier headers to provide declarations.  They cannot
be safely included independently on some platforms.

For example, many POSIX APIs document including sys/types.h before some
other headers.  Also on some OS X versions sys/socket.h must be included
before net/if.h or the check for the latter will fail.

Signed-off-by: Brad King <brad.king@kitware.com>
2014-11-13 23:42:35 +01:00
..
Platforms cmake: fix HAVE_GETHOSTNAME definition 2014-11-10 09:07:50 +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: Restore order-dependent header checks 2014-11-13 23:42:35 +01: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