diff options
author | Howard Su <howard0su@gmail.com> | 2018-05-21 22:30:07 +0800 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2018-05-24 00:11:33 +0400 |
commit | 031fa6d4258574379ca3c1cbe912d235e9581982 (patch) | |
tree | a078f113b2fa50851b002bc8f9861ee436a082f0 /configure.cmake | |
parent | c13e3c37be4fd5252ce0cad45b616815b236272a (diff) | |
download | mariadb-git-031fa6d4258574379ca3c1cbe912d235e9581982.tar.gz |
remove check for finite/isfinite
finite is not used anymore in code base. isfinite is part of C99 and we
assume we only support compilers that support C99.
Diffstat (limited to 'configure.cmake')
-rw-r--r-- | configure.cmake | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/configure.cmake b/configure.cmake index 96b08df3891..05d892849ac 100644 --- a/configure.cmake +++ b/configure.cmake @@ -477,12 +477,6 @@ CHECK_SYMBOL_EXISTS(TIOCSTAT "sys/ioctl.h" TIOCSTAT_IN_SYS_IOCTL) CHECK_SYMBOL_EXISTS(FIONREAD "sys/filio.h" FIONREAD_IN_SYS_FILIO) CHECK_SYMBOL_EXISTS(gettimeofday "sys/time.h" HAVE_GETTIMEOFDAY) -CHECK_SYMBOL_EXISTS(finite "math.h" HAVE_FINITE_IN_MATH_H) -IF(HAVE_FINITE_IN_MATH_H) - SET(HAVE_FINITE TRUE CACHE INTERNAL "") -ELSE() - CHECK_SYMBOL_EXISTS(finite "ieeefp.h" HAVE_FINITE) -ENDIF() CHECK_SYMBOL_EXISTS(log2 math.h HAVE_LOG2) CHECK_SYMBOL_EXISTS(isnan math.h HAVE_ISNAN) CHECK_SYMBOL_EXISTS(rint math.h HAVE_RINT) |