bpo-45548: Remove checks for finite and gamma (GH-29206)

This commit is contained in:
Christian Heimes 2021-10-25 19:25:43 +03:00 committed by GitHub
parent fa26245a1c
commit 77e3f224d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 14 deletions

2
configure vendored
View File

@ -15092,7 +15092,7 @@ fi
LIBS_SAVE=$LIBS
LIBS="$LIBS $LIBM"
for ac_func in acosh asinh atanh erf erfc expm1 finite gamma lgamma log1p log2 tgamma
for ac_func in acosh asinh atanh erf erfc expm1 log1p log2
do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"

View File

@ -4693,7 +4693,7 @@ LIBS_SAVE=$LIBS
LIBS="$LIBS $LIBM"
AC_CHECK_FUNCS(
[acosh asinh atanh erf erfc expm1 finite gamma lgamma log1p log2 tgamma],
[acosh asinh atanh erf erfc expm1 log1p log2],
[],
[AC_MSG_ERROR([Python requires C99 compatible libm])]
)

View File

@ -353,9 +353,6 @@
/* Define to 1 if you have the `fexecve' function. */
#undef HAVE_FEXECVE
/* Define to 1 if you have the `finite' function. */
#undef HAVE_FINITE
/* Define to 1 if you have the `flock' function. */
#undef HAVE_FLOCK
@ -407,9 +404,6 @@
/* Define to 1 if you have the `gai_strerror' function. */
#undef HAVE_GAI_STRERROR
/* Define to 1 if you have the `gamma' function. */
#undef HAVE_GAMMA
/* Define if we can use gcc inline assembler to get and set mc68881 fpcr */
#undef HAVE_GCC_ASM_FOR_MC68881
@ -586,9 +580,6 @@
/* Define to 1 if you have the `lchown' function. */
#undef HAVE_LCHOWN
/* Define to 1 if you have the `lgamma' function. */
#undef HAVE_LGAMMA
/* Define to 1 if you have the `dl' library (-ldl). */
#undef HAVE_LIBDL
@ -1238,9 +1229,6 @@
/* Define to 1 if you have the <term.h> header file. */
#undef HAVE_TERM_H
/* Define to 1 if you have the `tgamma' function. */
#undef HAVE_TGAMMA
/* Define to 1 if you have the `timegm' function. */
#undef HAVE_TIMEGM