]> granicus.if.org Git - php/commitdiff
Remove configure checks for asinh, acosh, atanh, log1p, hypot
authorGeorge Peter Banyard <girgias@php.net>
Wed, 4 Dec 2019 13:57:11 +0000 (14:57 +0100)
committerGeorge Peter Banyard <girgias@php.net>
Wed, 4 Dec 2019 13:57:11 +0000 (14:57 +0100)
ext/standard/config.m4
win32/build/confutils.js

index 5b49e5d661f3c478756c1ac220a4adef186577b8..caf2e99e4313e74e06ad6ccd6b1a7492e46c29a8 100644 (file)
@@ -303,12 +303,6 @@ if test "$ac_cv_attribute_aligned" = "yes"; then
   AC_DEFINE([HAVE_ATTRIBUTE_ALIGNED], 1, [whether the compiler supports __attribute__ ((__aligned__))])
 fi
 
-dnl
-dnl Check for available functions
-dnl
-dnl log2 could be used to improve the log function, however it requires C99. The
-dnl check for log2 should be turned on, as soon as we support C99.
-AC_CHECK_FUNCS(asinh acosh atanh log1p hypot)
 AC_FUNC_FNMATCH
 
 dnl
index e5c0ccd2d4815d4aada5d5c9bf0429e7e6962ff9..68bfcb431c3ea0bf592e83a0986eca2e6a3a5a94 100644 (file)
@@ -2300,19 +2300,6 @@ function generate_config_h()
                outfile.WriteLine("#define " + keys[i] + " " + pieces);
        }
 
-       if (VS_TOOLSET) {
-               if (VCVERS >= 1800) {
-                       outfile.WriteLine("");
-                       outfile.WriteLine("#define HAVE_ACOSH 1");
-                       outfile.WriteLine("#define HAVE_ASINH 1");
-                       outfile.WriteLine("#define HAVE_ATANH 1");
-               }
-               if (VCVERS >= 1900) {
-                       outfile.WriteLine("#define HAVE_LOG1P 1");
-               }
-       }
-
-
        outfile.Close();
 }