aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt38
1 files changed, 0 insertions, 38 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 38858fa3..aa85e34b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -603,9 +603,6 @@ CHECK_SYMBOL_EXISTS(aligned_alloc stdlib.h HAVE_ALIGNED_ALLOC)
CHECK_SYMBOL_EXISTS(posix_memalign stdlib.h HAVE_POSIX_MEMALIGN)
CHECK_SYMBOL_EXISTS(_aligned_malloc malloc.h HAVE__ALIGNED_MALLOC)
CHECK_SYMBOL_EXISTS(proc_pidpath libproc.h HAVE_PROC_PIDPATH)
-CHECK_SYMBOL_EXISTS(lrintf math.h HAVE_LRINTF)
-CHECK_SYMBOL_EXISTS(cbrtf math.h HAVE_CBRTF)
-CHECK_SYMBOL_EXISTS(copysignf math.h HAVE_COPYSIGNF)
IF(HAVE_FLOAT_H)
CHECK_SYMBOL_EXISTS(_controlfp float.h HAVE__CONTROLFP)
@@ -633,41 +630,6 @@ IF(NOT HAVE_STRNCASECMP)
SET(CPP_DEFS ${CPP_DEFS} strncasecmp=_strnicmp)
ENDIF()
-CHECK_SYMBOL_EXISTS(strnlen string.h HAVE_STRNLEN)
-CHECK_SYMBOL_EXISTS(snprintf stdio.h HAVE_SNPRINTF)
-IF(NOT HAVE_SNPRINTF)
- CHECK_FUNCTION_EXISTS(_snprintf HAVE__SNPRINTF)
- IF(NOT HAVE__SNPRINTF)
- MESSAGE(FATAL_ERROR "No snprintf function found, please report!")
- ENDIF()
-
- SET(CPP_DEFS ${CPP_DEFS} snprintf=_snprintf)
-ENDIF()
-
-CHECK_SYMBOL_EXISTS(isfinite math.h HAVE_ISFINITE)
-IF(NOT HAVE_ISFINITE)
- CHECK_FUNCTION_EXISTS(finite HAVE_FINITE)
- IF(NOT HAVE_FINITE)
- CHECK_FUNCTION_EXISTS(_finite HAVE__FINITE)
- IF(NOT HAVE__FINITE)
- MESSAGE(FATAL_ERROR "No isfinite function found, please report!")
- ENDIF()
- SET(CPP_DEFS ${CPP_DEFS} isfinite=_finite)
- ELSE()
- SET(CPP_DEFS ${CPP_DEFS} isfinite=finite)
- ENDIF()
-ENDIF()
-
-CHECK_SYMBOL_EXISTS(isnan math.h HAVE_ISNAN)
-IF(NOT HAVE_ISNAN)
- CHECK_FUNCTION_EXISTS(_isnan HAVE__ISNAN)
- IF(NOT HAVE__ISNAN)
- MESSAGE(FATAL_ERROR "No isnan function found, please report!")
- ENDIF()
-
- SET(CPP_DEFS ${CPP_DEFS} isnan=_isnan)
-ENDIF()
-
# Check if we have Windows headers
SET(OLD_REQUIRED_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS})