[Python-checkins] bpo-45548: Remove checks for finite and gamma (GH-29206)

tiran webhook-mailer at python.org
Mon Oct 25 12:25:53 EDT 2021


https://github.com/python/cpython/commit/77e3f224d6ae6d38e5fc899fb5eaadf2b7c255a1
commit: 77e3f224d6ae6d38e5fc899fb5eaadf2b7c255a1
branch: main
author: Christian Heimes <christian at python.org>
committer: tiran <christian at python.org>
date: 2021-10-25T18:25:43+02:00
summary:

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

files:
M configure
M configure.ac
M pyconfig.h.in

diff --git a/configure b/configure
index b72660d24c2a2..72463d2271497 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 4093938c209a0..5674093fe67a4 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 081ea61bae834..3e3944a6ec208 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 <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
 



More information about the Python-checkins mailing list