From 4845c3f11dce1859715287cd000fd6ff47b88aaf Mon Sep 17 00:00:00 2001 From: George Peter Banyard Date: Wed, 4 Dec 2019 14:57:11 +0100 Subject: [PATCH] Remove configure checks for asinh, acosh, atanh, log1p, hypot --- ext/standard/config.m4 | 6 ------ win32/build/confutils.js | 13 ------------- 2 files changed, 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(); } -- 2.50.1