aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-05-22 23:09:06 -0700
committerChris Robinson <[email protected]>2013-05-22 23:23:45 -0700
commit4f068b51e5bb8161056e7eefb684123f8344b16a (patch)
tree5a165889ca62f74b09049d6a946c52fe70930a1a
parentbe4a4d74686fffb0a7e38cb4b1cad9653d2ba00f (diff)
Don't explicitly check for fesetround
It's C99 standard with fenv.h, which we already check for.
-rw-r--r--CMakeLists.txt3
-rw-r--r--config.h.in3
2 files changed, 0 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 17bd5263..4ddaa44d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -285,9 +285,6 @@ CHECK_SYMBOL_EXISTS(posix_memalign stdlib.h HAVE_POSIX_MEMALIGN)
CHECK_SYMBOL_EXISTS(_aligned_malloc malloc.h HAVE__ALIGNED_MALLOC)
CHECK_SYMBOL_EXISTS(lrintf math.h HAVE_LRINTF)
-IF(HAVE_FENV_H)
- CHECK_SYMBOL_EXISTS(fesetround fenv.h HAVE_FESETROUND)
-ENDIF()
IF(HAVE_FLOAT_H)
CHECK_SYMBOL_EXISTS(_controlfp float.h HAVE__CONTROLFP)
CHECK_SYMBOL_EXISTS(__control87_2 float.h HAVE___CONTROL87_2)
diff --git a/config.h.in b/config.h.in
index 9b6092fc..1e068ad0 100644
--- a/config.h.in
+++ b/config.h.in
@@ -128,9 +128,6 @@
/* Define if we have fenv.h */
#cmakedefine HAVE_FENV_H
-/* Define if we have fesetround() */
-#cmakedefine HAVE_FESETROUND
-
/* Define if we have _controlfp() */
#cmakedefine HAVE__CONTROLFP