]> granicus.if.org Git - php/commitdiff
Remove ZEND_FP_EXCEPT macro and HAVE_FP_EXCEPT
authorPeter Kokot <peterkokot@gmail.com>
Wed, 27 Feb 2019 20:39:26 +0000 (21:39 +0100)
committerPeter Kokot <peterkokot@gmail.com>
Wed, 27 Feb 2019 21:53:55 +0000 (22:53 +0100)
Usage of the HAVE_FP_EXCEPT symbol has been removed via
c3340584128a9c8b75e2c1aa5630911ad2dc9b9f and isn't used in current code
anymore.

Zend/Zend.m4
Zend/acinclude.m4

index 2a5fecd1f832537de6c4f9ca05eff2d01bff97c4..885af154faacb0c828633cf1f2e80af8905293fb 100644 (file)
@@ -83,8 +83,6 @@ AC_CHECK_FUNCS(memcpy strdup getpid kill strtod strtol finite fpclass sigsetjmp)
 
 AC_CHECK_DECLS([isfinite, isnan, isinf], [], [], [[#include <math.h>]])
 
-ZEND_FP_EXCEPT
-
 ZEND_CHECK_FLOAT_PRECISION
 
 dnl test whether double cast to long preserves least significant bits
index 3c26431db36714495d7084bf4809f163fd41d73e..09b5b7f681205c7199b76106d0af7a31b35671ce 100644 (file)
@@ -42,22 +42,6 @@ AC_DEFUN([LIBZEND_BISON_CHECK],[
   esac
 ])
 
-AC_DEFUN([ZEND_FP_EXCEPT],[
-  AC_CACHE_CHECK(whether fp_except is defined, ac_cv_type_fp_except,[
-    AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
-#include <floatingpoint.h>
-]],[[
-fp_except x = (fp_except) 0;
-]])],[
-     ac_cv_type_fp_except=yes
-],[
-     ac_cv_type_fp_except=no
-])])
-  if test "$ac_cv_type_fp_except" = "yes"; then
-    AC_DEFINE(HAVE_FP_EXCEPT, 1, [whether floatingpoint.h defines fp_except])
-  fi
-])
-
 dnl x87 floating point internal precision control checks
 dnl See: http://wiki.php.net/rfc/rounding
 AC_DEFUN([ZEND_CHECK_FLOAT_PRECISION],[