]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-45548: Remove checks for finite and gamma (GH-29206)
authorChristian Heimes <christian@python.org>
Mon, 25 Oct 2021 16:25:43 +0000 (19:25 +0300)
committerGitHub <noreply@github.com>
Mon, 25 Oct 2021 16:25:43 +0000 (18:25 +0200)
configure
configure.ac
pyconfig.h.in

index b72660d24c2a2c34220777890a76fed8d294a729..72463d227149774a681919c1d69c973ff9c257ad 100755 (executable)
--- 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"
index 4093938c209a0f9bb355d10588d88f4aef862e86..5674093fe67a4078bf6ef651bf19052790359fd6 100644 (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])]
 )
index 081ea61bae8347474a01335aa795484de702224a..3e3944a6ec208d3bc147113a22269ea9c74337ab 100644 (file)
 /* 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
 
 /* 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
 
 /* 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
 
 /* 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