CMake/Utilities
Chuck Atkins 2dd17a546f liblzma: Fix compilation with PGI compiler
- sha265.c is using some C99 specific features, in particular static
array dimensions in a function parameter array (see section 6.7.5-7
of the C99 spec).  A #ifndef check was in place to prevent compilation
under MSVC but it actually needed to check for C99 compliance instead.
Even still, the C99 code fails on a few compilers (PGI being one) so for
compatibility reasons, the C99 version of the function declaration is
removed entirely, leaving only the C89 version.

- CHECK_SYMBOL_EXISTS is used to determine the presense of bswap
functions from byteswap.h.  Most compilers re-dedefine the bswap_N
functions as a __bswap_N function implemented by the compiler.  Since
bswap_N is usually defined as a macro then it's mere presence passes
the check.  Some versions of the PGI compiler though have shipped
broken headers for byteswap.h, in particular 11.3 for x64 linux
provides byteswap.h but is missing an associated bits/byteswap.h which
causes some of the bswap_N macros to be defined but broken and unusable.
The bswap_N checks have been converted to CHECK_SOURCE_COMPILES to
ensure that the bswap_N calls are actually usable and not just merely
defined.
2014-08-04 10:12:51 -04:00
..
Doxygen Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
Git Merge topic 'import-KWSys-subtree' 2012-11-07 09:07:15 -05:00
GitSetup Merge branch 'setup' into developer-setup 2012-04-26 15:43:29 -04:00
KWIML Merge branch 'upstream-kwiml' into update-KWIML 2013-01-08 15:31:53 -05:00
KWStyle Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
Release OS X: Package with DragNDrop instead of PackageMaker 2014-05-08 14:13:20 -04:00
Sphinx Help: Fix QtHelp commands on Windows 2014-07-28 21:07:53 +02:00
cmbzip2 curl, bzip2: Suppress warnings by setting initial value 2013-10-08 09:16:33 -04:00
cmcompress Clean up install rules of CMake itself (#14371) 2013-08-26 11:54:07 -04:00
cmcurl cmcurl: Fix a build failure with the Cray compiler on Linux (#15026) 2014-07-17 09:43:05 -04:00
cmexpat Clean up install rules of CMake itself (#14371) 2013-08-26 11:54:07 -04:00
cmlibarchive CMake: Enable use of liblzma in libarchive (#14504) 2014-07-29 08:45:36 -04:00
cmliblzma liblzma: Fix compilation with PGI compiler 2014-08-04 10:12:51 -04:00
cmzlib Haiku: Remove outdated preprocessor checks 2013-10-08 09:55:55 -04:00
.NoDartCoverage ENH: No need to do coverage of utilities 2005-06-14 15:53:10 -04:00
.gitattributes Exclude from CMake source archives files specific to Git work tree 2012-03-02 14:36:56 -05:00
CMakeLists.txt Utilities/Release: Pass pre-built docs tarball 2014-01-29 10:10:15 -05:00
SetupForDevelopment.sh Add and configure developer setup helper scripts 2012-03-02 13:33:41 -05:00
cmThirdParty.h.in CMake: Enable use of liblzma in libarchive (#14504) 2014-07-29 08:45:36 -04:00
cm_bzlib.h Include bzlib.h consistently across CMake build (#10950) 2012-01-13 14:05:36 -05:00
cm_curl.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cm_expat.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cm_libarchive.h Include headers from chosen libarchive (#10923) 2010-08-05 17:06:10 -04:00
cm_lzma.h CMake: Enable use of liblzma in libarchive (#14504) 2014-07-29 08:45:36 -04:00
cm_xmlrpc.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cm_zlib.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00