summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Peter Banyard <girgias@php.net>2019-12-04 14:57:11 +0100
committerGeorge Peter Banyard <girgias@php.net>2019-12-04 14:57:11 +0100
commit4845c3f11dce1859715287cd000fd6ff47b88aaf (patch)
treeee6e0ac08b35a1bfb7e3254ed69f11362bdc1019
parent039d678fdfa5f0c9d8b70ec644b22a66f57aea74 (diff)
downloadphp-git-4845c3f11dce1859715287cd000fd6ff47b88aaf.tar.gz
Remove configure checks for asinh, acosh, atanh, log1p, hypot
-rw-r--r--ext/standard/config.m46
-rw-r--r--win32/build/confutils.js13
2 files changed, 0 insertions, 19 deletions
diff --git a/ext/standard/config.m4 b/ext/standard/config.m4
index 5b49e5d661..caf2e99e43 100644
--- a/ext/standard/config.m4
+++ b/ext/standard/config.m4
@@ -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
diff --git a/win32/build/confutils.js b/win32/build/confutils.js
index e5c0ccd2d4..68bfcb431c 100644
--- a/win32/build/confutils.js
+++ b/win32/build/confutils.js
@@ -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();
}