com php-src: Remove configure checks for asinh, acosh, atanh, log1p, hypot: ext/standard/config.m4 win32/build/confutils.js

From: Date: Wed, 04 Dec 2019 13:57:11 +0000
Subject: com php-src: Remove configure checks for asinh, acosh, atanh, log1p, hypot: ext/standard/config.m4 win32/build/confutils.js
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-109382@lists.php.net to get a copy of this message
Commit: 4845c3f11dce1859715287cd000fd6ff47b88aaf Author: George Peter Banyard <girgias@php.net> Wed, 4 Dec 2019 14:57:11 +0100 Parents: 039d678fdfa5f0c9d8b70ec644b22a66f57aea74 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4845c3f11dce1859715287cd000fd6ff47b88aaf Log: Remove configure checks for asinh, acosh, atanh, log1p, hypot Changed paths: M ext/standard/config..m4 M win32/build/confutils.js Diff: diff --git a/ext/standard/config.m4 b/ext/standard/config.m4 index 5b49e5d661f..caf2e99e431 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 e5c0ccd2d48..68bfcb431c3 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(); }

« previous php.cvs (#109382) next »