summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-06-03 10:43:09 (GMT)
committerBrad King <brad.king@kitware.com>2020-06-03 11:48:52 (GMT)
commitf408cc2c40f0ea853875611417ad499a382515ea (patch)
tree6414c7bfe2d7a4880d8664c49a68e99c4ffa9a73 /Utilities
parent6c4f3dcd7bd02ed74e2daa323bb0c4bed62cd671 (diff)
downloadCMake-f408cc2c40f0ea853875611417ad499a382515ea.zip
CMake-f408cc2c40f0ea853875611417ad499a382515ea.tar.gz
CMake-f408cc2c40f0ea853875611417ad499a382515ea.tar.bz2
expat: Remove unused try_compile checks
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/cmexpat/ConfigureChecks.cmake11
-rw-r--r--Utilities/cmexpat/expat_config.h.cmake6
2 files changed, 0 insertions, 17 deletions
diff --git a/Utilities/cmexpat/ConfigureChecks.cmake b/Utilities/cmexpat/ConfigureChecks.cmake
index d85e48c..4da252c 100644
--- a/Utilities/cmexpat/ConfigureChecks.cmake
+++ b/Utilities/cmexpat/ConfigureChecks.cmake
@@ -44,14 +44,6 @@ else(WORDS_BIGENDIAN)
set(BYTEORDER 1234)
endif(WORDS_BIGENDIAN)
-if(HAVE_SYS_TYPES_H)
- check_symbol_exists("off_t" "sys/types.h" OFF_T)
- check_symbol_exists("size_t" "sys/types.h" SIZE_T)
-else(HAVE_SYS_TYPES_H)
- set(OFF_T "long")
- set(SIZE_T "unsigned")
-endif(HAVE_SYS_TYPES_H)
-
check_c_source_compiles("
#include <stdlib.h> /* for NULL */
#include <unistd.h> /* for syscall */
@@ -61,6 +53,3 @@ check_c_source_compiles("
return 0;
}"
HAVE_SYSCALL_GETRANDOM)
-
-check_c_compiler_flag("-fno-strict-aliasing" FLAG_NO_STRICT_ALIASING)
-check_c_compiler_flag("-fvisibility=hidden" FLAG_VISIBILITY)
diff --git a/Utilities/cmexpat/expat_config.h.cmake b/Utilities/cmexpat/expat_config.h.cmake
index 795b607..e91861e 100644
--- a/Utilities/cmexpat/expat_config.h.cmake
+++ b/Utilities/cmexpat/expat_config.h.cmake
@@ -86,9 +86,3 @@
#ifdef _MSC_VER
# define __func__ __FUNCTION__
#endif
-
-/* Define to `long' if <sys/types.h> does not define. */
-#cmakedefine off_t @OFF_T@
-
-/* Define to `unsigned' if <sys/types.h> does not define. */
-#cmakedefine size_t @SIZE_T@