From 77e3f224d6ae6d38e5fc899fb5eaadf2b7c255a1 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Mon, 25 Oct 2021 19:25:43 +0300 Subject: bpo-45548: Remove checks for finite and gamma (GH-29206) --- configure | 2 +- configure.ac | 2 +- pyconfig.h.in | 12 ------------ 3 files changed, 2 insertions(+), 14 deletions(-) diff --git a/configure b/configure index b72660d..72463d2 100755 --- a/configure +++ b/configure @@ -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" diff --git a/configure.ac b/configure.ac index 4093938..5674093 100644 --- a/configure.ac +++ b/configure.ac @@ -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])] ) diff --git a/pyconfig.h.in b/pyconfig.h.in index 081ea61..3e3944a 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -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 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 -- cgit v0.12