summaryrefslogtreecommitdiffstats
path: root/Utilities/cmcurl
Commit message (Collapse)AuthorAgeFilesLines
* Drop use of configure_file IMMEDIATE optionDaniele E. Domenichelli2013-11-132-4/+2
| | | | | | Since commit 7d47c693 (Drop compatibility with CMake < 2.4, 2013-10-08) we no longer need to use the configure_file IMMEDIATE option to support compatibility modes less than 2.0.
* Merge topic 'haiku-updates'Brad King2013-10-092-2/+2
|\ | | | | | | | | | | | | | | 54ef2be Haiku: Include files cleanup in cmCTest 38d5555 Haiku: Remove outdated preprocessor checks 1dc61f8 Haiku: Remove use of B_COMMON_DIRECTORY 7ebc1cb Haiku: Several fixes to platform module
| * Haiku: Remove outdated preprocessor checksAdrien Destugues2013-10-082-2/+2
| | | | | | | | | | | | | | | | | | * Haiku does not define __BEOS__ anymore, so there is no need to guard these BeOS specific workaround for Haiku. * The workaround themselves are not needed for Haiku as it has much better POSIX compatibility than BeOS did. Applied-by: Rolf Eike Beer <eike@sf-mail.de>
* | Merge topic 'apple-clang-id'Brad King2013-10-091-0/+3
|\ \ | |/ |/| | | | | | | | | 1763c31 Set policy CMP0025 to NEW while building CMake itself aa53ee5 Add policy CMP0025 for Apple Clang compiler id compatibility ab65862 Clang: Add separate "AppleClang" compiler id
| * Set policy CMP0025 to NEW while building CMake itselfBrad King2013-10-081-0/+3
| | | | | | | | | | | | | | | | | | | | CMake is aware of the policy's NEW behavior and the AppleClang compiler id. Set the policy to NEW explicitly to avoid the warning and get the NEW behavior. Also teach the RunCMake test infrastructure to build tests with -DCMAKE_POLICY_DEFAULT_CMP0025=NEW to avoid the policy warning in test output that must match specific regular expressions.
* | curl, bzip2: Suppress warnings by setting initial valueSean McBride2013-10-081-1/+1
| | | | | | | | Silence clang -Wsometimes-uninitialized warnings.
* | curl: Fix typo in header include guardSean McBride2013-10-081-1/+1
|/ | | | From clang's -Wheader-guard.
* Clean up install rules of CMake itself (#14371)Brad King2013-08-261-2/+2
| | | | | | | | | | | Ensure CMAKE_DATA_DIR, CMAKE_DOC_DIR, and CMAKE_MAN_DIR are always relative paths in CMake code, and set defaults accordingly. Use the install() command instead of install_files() and install_targets(). This is more modern and also avoids stripping of the first character from user-specified destinations. While at it, fix the default destinations reported in the bootstrap help.
* cmcurl: Fix resource leak reported by cppcheckÖmer Fadıl USTA2013-07-153-0/+6
| | | | | | Add missing fclose calls. Reviewed-by: Igor Murzov <e-mail@date.by>
* Merge topic 'curl-bug-1192'Brad King2013-07-017-58/+9
|\ | | | | | | | | e643e02 cmcurl: Backport curl bug 1192 fix (#14250)
| * cmcurl: Backport curl bug 1192 fix (#14250)Brad King2013-06-277-58/+9
| | | | | | | | | | | | | | | | | | | | LLVM headers define strlcat as a macro rather than as a function. See upstream Curl issue: http://curl.haxx.se/bug/view.cgi?id=1192 It was addressed by removing use of strlcat altogether. Port the upstream fix to CMake's curl.
* | Fix spelling and typos (product names)Andreas Mohr2013-05-071-1/+1
| | | | | | | | API, Borland, MinGW, UNIX, Mac OS X.
* | Fix spelling and typos (non-binary)Andreas Mohr2013-05-073-3/+3
|/
* curl: Honor OPENSSL_NO_SSL2Brad King2012-09-073-2/+10
| | | | | | Some OpenSSL distributions have dropped support for the ancient SSLv2 protocol completely. Port changes from upstream curl to recognize this case and avoid using it.
* curl: Make OpenSSL DLLs available to CMake on WindowsBill Hoffman2012-09-071-2/+24
| | | | | Find the OpenSSL runtime DLLs and place them next to the CMake executables in the build tree and the install tree.
* curl: Use find_package(OpenSSL)Bill Hoffman2012-09-072-15/+4
| | | | | Change the code to use the standard CMake FindOpenSSL instead of the handcrafted attempt that was there before.
* cmcurl: Do not hard-coded Windows check results for MinGW (#13001)Brad King2012-03-021-2/+2
| | | | | | The WindowsCache.cmake file hard-codes results for MS and similar Windows toolchains. They are not valid for MinGW tools and also interfere with cmlibarchive checks. Allow the checks to run.
* Merge topic 'HandleTargetsInCMakeRequiredLibraries'David Cole2012-02-211-19/+14
|\ | | | | | | | | | | | | | | 35c48e1 Check*.cmake: Expand imported targets in CMAKE_REQUIRED_LIBRARIES 61cb4ea bootstrap: move while() and endwhile() into the bootstrap build c9f2886 -don't pull in CheckTypeSize.cmake from the cmake which is being built 628f365 -remove trailing whitespace
| * -don't pull in CheckTypeSize.cmake from the cmake which is being builtAlex Neundorf2012-02-211-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We can be sure that at least cmake 2.6.3 is used when building cmcurl. This means we always get in the first branch of the if(). I think it is not a good idea to pull a cmake module from the cmake which is being built in, since this may use features which are not supported in the cmake which is used to build cmake (e.g. CMAKE_CURRENT_LIST_DIR which does not exist in cmake 2.6.3 which is the minimum for cmcurl). A bit further below there is anyway code to handle the case that cmake is older than 2.8.0, so it should be ok. Alex
| * -remove trailing whitespaceAlex Neundorf2012-02-211-13/+13
| | | | | | | | Alex
* | Add CURL_CA_BUNDLE option for SSL support (#12946)Artur Kedzierski2012-02-091-0/+5
|/ | | | | This adds the ability to specify the location of SSL CA bundle at compile time.
* Merge topic 'require-cmake-2.6.3'Brad King2011-03-011-7/+1
|\ | | | | | | | | c3e452e Require at least CMake 2.6.3 to build current CMake
| * Require at least CMake 2.6.3 to build current CMakeBrad King2011-02-241-7/+1
| | | | | | | | Remove some cruft left for supporting builds with CMake 2.4.
* | Documentation: Fix a few typos (#11883)Modestas Vainius2011-02-222-2/+2
|/ | | | | | | | | | | | | W: cmake: manpage-has-errors-from-man usr/share/man/man1/cmake.1.gz 10029: warning [p 158, 13.5i]: can't break line I: cmake: spelling-error-in-manpage usr/share/man/man1/cmake.1.gz informations information I: cmake: spelling-error-in-manpage usr/share/man/man1/cmake.1.gz dependant dependent I: cmake: spelling-error-in-manpage usr/share/man/man1/cmake.1.gz prefered preferred I: cmake: spelling-error-in-binary ./usr/bin/cmake prefered preferred I: cmake: spelling-error-in-binary ./usr/bin/cpack prefered preferred I: cmake: spelling-error-in-binary ./usr/bin/ctest prefered preferred I: cmake-data: spelling-error-in-manpage usr/share/man/man1/cmakepolicies.1.gz prefered preferred I: cmake-curses-gui: spelling-error-in-binary ./usr/bin/ccmake prefered preferred I: cmake-qt-gui: spelling-error-in-binary ./usr/bin/cmake-gui prefered preferred
* Fix missed _POLL_EMUL_H_ and HAVE_POLL comboBen Boeckel2010-12-171-1/+1
|
* Toss out strerror_r macrosBen Boeckel2010-12-171-9/+0
|
* Check for poll when looking for _POLL_EMUL_H_Ben Boeckel2010-12-171-2/+2
|
* Use _POLL_EMUL_H_ instead of HAVE_POLL_FINEBen Boeckel2010-12-163-14/+3
| | | | | Headers define _POLL_EMUL_H_ if they are not in the kernel, so a try_run check for them is not necessary.
* Ignore strerror_r since CMake isn't threadedBen Boeckel2010-12-161-43/+0
|
* Suppress -Wcast-align in curl and bzip2Brad King2010-09-101-0/+4
| | | | Trust upstream developers of third-party code.
* Merge topic 'resolve/doc-spelling/CPackRPM'Brad King2010-07-202-2/+2
|\ | | | | | | | | | | 7739d78 Merge CPackRPM changes into doc-spelling 9203e91 Fix spelling errors reported by Lintian.
| * Fix spelling errors reported by Lintian.Kai Wasserbäch2010-07-132-2/+2
| | | | | | | | | | During a Lintian run on the binary packages of CMake in Debian I was notified of many spelling mistakes.
* | fix build on SUSE 11.2 in cmcurl due to ssize_tAlex Neundorf2010-06-301-0/+1
|/ | | | Alex
* Add CMAKE_TESTS_CDASH_SERVER variable and CTestSubmitLargeOutput test.David Cole2010-03-082-8/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If defined and non-empty, the value of CMAKE_TESTS_CDASH_SERVER should point to a CDash server willing to accept submissions for a project named PublicDashboard. On machines that also run a CDash dashboard, set this variable to "http://localhost/CDash-trunk-Testing" so that the CMake tests that submit dashboards do not have to send those submissions over the wire. The CTestSubmitLargeOutput test runs a dashboard that has a test that produces very large amount of output on stdout/stderr. Since we do not even want to attempt to send such large output over the wire, this test is off by default unless the CMAKE_TESTS_CDASH_SERVER server is localhost. This test is expected to cause a submission failure when sent to CDash. It passes if the submit results contain error output. It fails if the submit succeeds. CMAKE_TESTS_CDASH_SERVER: CDash server used by CMake/Tests. If not defined or "", this variable defaults to the server at http://www.cdash.org/CDash. If set explicitly to "NOTFOUND", curl tests and ctest tests that use the network are skipped. If set to something starting with "http://localhost/", the CDash is expected to be an instance of CDash used for CDash testing, pointing to a cdash4simpletest database. In these cases, the CDash dashboards should be run first.
* cmcurl: Use arch-aware CHECK_TYPE_SIZE resultBrad King2009-12-172-14/+53
| | | | | | | Our new CHECK_TYPE_SIZE macro produces a SIZEOF_<type>_CODE value for use in configured headers to get architecture-aware type size results. In this commit we teach cmcurl to use the SIZEOF_<type>_CODE value to get proper configured type sizes in OS X Universal Binaries.
* cmcurl: Remove unused SIZEOF_LONG_DOUBLEBrad King2009-12-172-5/+0
|
* cmcurl: Fix test and dll output directoriesBrad King2009-12-151-2/+2
| | | | | | | | | | The commit "Clean up CMake build tree 'bin' directory" changed the setting of EXECUTABLE_OUTPUT_PATH that affects the cmcurl directory to empty. We now fix the 'curl' test to refer to the LIBCURL executable locally. When CMAKE_BUILD_CURL_SHARED is enabled we now put cmcurl.dll next to the cmake executable. These changes remove use of EXECUTABLE_OUTPUT_PATH from cmcurl.
* cmcurl: Drop custom CHECK_TYPE_SIZE macroBrad King2009-12-153-97/+1
| | | | | We now require a version of CMake that provides CHECK_TYPE_SIZE, so we do not need a custom one for curl.
* Remove useless include file filtersBrad King2009-12-081-2/+0
| | | | | | | | | | The commit "Cleanup regular expressions" removed real include filter expressions and replaced them with lines like INCLUDE_REGULAR_EXPRESSION("^.*$") that do no filtering. We simplify the change by removing the lines altogether.
* curl: Hard-code HAVE_W* macros on UNIX for CygwinBrad King2009-12-011-0/+6
| | | | | | | | | The curl library code assumes that HAVE_WINDOWS_H and similar macros are not defined on Cygwin. Its CMake code achieved this by not even testing for the corresponding headers on UNIX platforms. However, libarchive does test HAVE_WINDOWS_H and confuses our curl build. We avoid the conflict by hard-coding the macros to 0 for UNIX builds inside the curl tree.
* Install third-party utility copyright noticesBrad King2009-09-282-5/+2
| | | | | | | Some of our third-party utilities have licenses that require their copyright and license notices to be distributed with binary forms. This commit adds installation rules to include these notices with installed CMake documentation.
* COMP: Fix cmcurl build on VMSBrad King2009-06-101-0/+4
| | | | | This defines IOCTL_3_ARGS in 'cmcurl/setup.h' to teach curl sources about the three-argument ioctl() on VMS.
* ENH: allow for shared build of libcurl and fix build with openssl option ↵Bill Hoffman2009-04-101-6/+35
| | | | (ssl tested on linux and windows
* ENH: disable ftp check because it is no longer active on publicBill Hoffman2008-12-021-1/+2
|
* ENH: fix warning on HPUXBill Hoffman2008-11-261-1/+4
|
* ENH: missed this one, cmake now bootstraps on HAIKUBill Hoffman2008-09-151-1/+1
|
* ENH: add initial support for HAIKU OS from bug# 7425Bill Hoffman2008-09-153-2/+4
|
* COMP: Check for -Wno-long-double before usingBrad King2008-07-171-9/+13
| | | | | | | Older GCC on the Mac warns for use of long double, so we use -Wno-long-double. Newer GCC on the Mac does not have this flag and gives an error. We now check for the flag before using it. See bug #7357.
* ENH: Avoid cmcurl CMake macro name conflictsBrad King2008-07-173-28/+28
| | | | | | Utilities/cmcurl/CMake provides macros with the same file names and macro names as others in Modules, but with different interfaces. We rename the curl ones to avoid conflict.
* ENH: Set CMake Policy CMP0003 to NEW behavior to build without warnings with ↵Brad King2008-03-171-1/+4
| | | | the upcoming CMake 2.6 release.