summaryrefslogtreecommitdiff
path: root/configure.cmake
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2018-05-25 22:09:07 +0400
committerSergey Vojtovich <svoj@mariadb.org>2018-05-26 13:17:22 +0400
commitbc469a0bdf85400f7a63834f5b7af1a513dcdec9 (patch)
treecc68b2d951347b243f988962b948e5a81a2ef395 /configure.cmake
parent3bbc30c73b3db740391848ee0ac7e64d5d1d1c8c (diff)
downloadmariadb-git-bc469a0bdf85400f7a63834f5b7af1a513dcdec9.tar.gz
Cleanup isinf() portability checks
Original problem reported by Wlad: re-compilation of 10.3 on top of 10.2 build would cache undefined HAVE_ISINF from 10.2, whereas it is expected to be 1 in 10.3. std::isinf() seem to be available on all supported platforms.
Diffstat (limited to 'configure.cmake')
-rw-r--r--configure.cmake10
1 files changed, 0 insertions, 10 deletions
diff --git a/configure.cmake b/configure.cmake
index 05d892849ac..80d571313e2 100644
--- a/configure.cmake
+++ b/configure.cmake
@@ -481,16 +481,6 @@ CHECK_SYMBOL_EXISTS(log2 math.h HAVE_LOG2)
CHECK_SYMBOL_EXISTS(isnan math.h HAVE_ISNAN)
CHECK_SYMBOL_EXISTS(rint math.h HAVE_RINT)
-# isinf() prototype not found on Solaris
-CHECK_CXX_SOURCE_COMPILES(
-"#include <math.h>
-int main() {
- isinf(0.0);
- return 0;
-}" HAVE_ISINF)
-
-
-
#
# Test for endianness
#