mirror of
https://github.com/php/php-src.git
synced 2025-01-25 05:04:20 +08:00
Remove configure checks for asinh, acosh, atanh, log1p, hypot
This commit is contained in:
parent
039d678fdf
commit
4845c3f11d
@ -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
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user