summaryrefslogtreecommitdiff
path: root/CMake/CurlTests.c
Commit message (Collapse)AuthorAgeFilesLines
* curl.se: new homeDaniel Stenberg2020-11-041-1/+1
| | | | Closes #6172
* copyrights: update all copyright notices to 2019 on files changed this yearVilhelm Prytz2019-11-021-1/+1
| | | | Closes #4547
* build: fix Codacy warningsMarcel Raad2019-06-051-0/+2
| | | | | | Reduce variable scopes and remove redundant variable stores. Closes https://github.com/curl/curl/pull/3975
* cmake: restore C89 compatibility of CurlTests.cMarcel Raad2019-05-121-2/+2
| | | | | | | | | I broke it in d1b5cf830bfe169745721b21245d2217d2c2453e and 97de97daefc2ed084c91eff34af2426f2e55e134. Reported-by: Viktor Szakats Ref: https://github.com/curl/curl/commit/97de97daefc2ed084c91eff34af2426f2e55e134#commitcomment-33499044 Closes https://github.com/curl/curl/pull/3868
* CMake: suppress unused variable warningsMarcel Raad2019-05-111-0/+2
| | | | I missed these in commit d1b5cf830bfe169745721b21245d2217d2c2453e.
* build: fix Codacy/CppCheck warningsMarcel Raad2019-04-111-0/+4
| | | | | | | | | | - remove unused variables - declare conditionally used variables conditionally - suppress unused variable warnings in the CMake tests - remove dead variable stores - consistently use WIN32 macro to detect Windows Closes https://github.com/curl/curl/pull/3739
* cmake: added checks for HAVE_VARIADIC_MACROS_C99 and HAVE_VARIADIC_MACROS_GCCSergei Nikulov2019-01-111-2/+44
|
* cmake: test and set missed defines during configurationdmitrykos2018-10-051-0/+16
| | | | | | Added configuration checks for HAVE_BUILTIN_AVAILABLE and HAVE_CLOCK_GETTIME_MONOTONIC. Closes #3097
* cmake: fixed comments in compile checks codeSergei Nikulov2018-05-291-3/+3
|
* Fix the test for fsetxattr and strerror_r tests in CMake to work without ↵maxed2018-05-281-15/+15
| | | | compiling
* cmake: Support curl --xattr when built with cmakeSean Burford2017-02-011-0/+16
| | | | | | | - Test for and set HAVE_FSETXATTR when support for extended file attributes is present. Closes https://github.com/curl/curl/pull/1176
* URLs: change all http:// URLs to https://Daniel Stenberg2016-02-031-1/+1
|
* cmake: Fix CurlTests check for gethostbyname_r with 5 argumentsBrad King2015-08-141-1/+1
| | | | | | Fix the check code to pass 5 arguments instead of 6. This typo was introduced by commit aebfd4cfbf (cmake: fix gethostby{addr,name}_r in CurlTests, 2014-10-31).
* cmake: fix gethostby{addr,name}_r in CurlTestsPeter Wu2014-11-031-246/+70
| | | | | | | | | | | | | | | | | | | | | This patch cleans up the automatically-generated (?) code and fixes one case that will always fail due to syntax error. HAVE_GETHOSTBYADDR_R_5_REENTRANT always failed because of a trailing character ("int length;q"). Several parameter type and unused variable warnings popped up. This causes a detection failure with -Werror. Observe that the REENTRANT cases are exactly the same as their non-REENTRANT cases except for a `_REENTRANT` macro definition. Merge all these pieces and build one big main function with different cases, but reusing variables where logical. For the cases where the parameters where NULL, I looked at lib/hostip4.c to get an idea of the parameters types. void-cast variables such as 'rc' to avoid -Wuninitialized errors. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
* sources: update source headersDaniel Stenberg2011-03-101-0/+21
| | | | | | All C and H files now (should) feature the proper project curl source code header, which includes basic info, a copyright statement and some basic disclaimers.
* replaced tabs with spacesYang Tse2010-02-161-1/+1
|
* removed trailing whitespaceYang Tse2010-02-141-1/+1
|
* Initial CMake scripts (libcurl only), based on the merge of tetest scripts ↵Benoit Neil2009-04-021-0/+690
and mine. These are far to be functionnal yet. PS: Hello world :)