aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-05-22 14:24:30 -0700
committerChris Robinson <[email protected]>2013-05-22 14:24:30 -0700
commit1bed3cff213548204873c227b4b5dae8e9c27846 (patch)
treeb3d46da06ca4faf00e9f4fafa25c232cb0484b90
parentcdbb0722f642faa9f8d6e64f552a1e620f2b023e (diff)
Remove an unnecessary check for vsnprintf
-rw-r--r--CMakeLists.txt10
1 files changed, 0 insertions, 10 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4165cbe1..b86de3d3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -326,16 +326,6 @@ IF(NOT HAVE_SNPRINTF)
ADD_DEFINITIONS(-Dsnprintf=_snprintf)
ENDIF()
-CHECK_FUNCTION_EXISTS(vsnprintf HAVE_VSNPRINTF)
-IF(NOT HAVE_VSNPRINTF)
- CHECK_FUNCTION_EXISTS(_vsnprintf HAVE__VSNPRINTF)
- IF(NOT HAVE__VSNPRINTF)
- MESSAGE(FATAL_ERROR "No vsnprintf function found, please report!")
- ENDIF()
-
- ADD_DEFINITIONS(-Dvsnprintf=_vsnprintf)
-ENDIF()
-
CHECK_SYMBOL_EXISTS(isfinite math.h HAVE_ISFINITE)
IF(NOT HAVE_ISFINITE)
CHECK_FUNCTION_EXISTS(finite HAVE_FINITE)