Skip to content

Commit 77e3f22

Browse files
authored
bpo-45548: Remove checks for finite and gamma (GH-29206)
1 parent fa26245 commit 77e3f22

File tree

3 files changed

+2
-14
lines changed

3 files changed

+2
-14
lines changed

‎configure‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15092,7 +15092,7 @@ fi
1509215092
LIBS_SAVE=$LIBS
1509315093
LIBS="$LIBS $LIBM"
1509415094

15095-
for ac_func in acosh asinh atanh erf erfc expm1 finite gamma lgamma log1p log2 tgamma
15095+
for ac_func in acosh asinh atanh erf erfc expm1 log1p log2
1509615096
do :
1509715097
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
1509815098
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"

‎configure.ac‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4693,7 +4693,7 @@ LIBS_SAVE=$LIBS
46934693
LIBS="$LIBS $LIBM"
46944694

46954695
AC_CHECK_FUNCS(
4696-
[acosh asinh atanh erf erfc expm1 finite gamma lgamma log1p log2 tgamma],
4696+
[acosh asinh atanh erf erfc expm1 log1p log2],
46974697
[],
46984698
[AC_MSG_ERROR([Python requires C99 compatible libm])]
46994699
)

‎pyconfig.h.in‎

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -353,9 +353,6 @@
353353
/* Define to 1 if you have the `fexecve' function. */
354354
#undef HAVE_FEXECVE
355355

356-
/* Define to 1 if you have the `finite' function. */
357-
#undef HAVE_FINITE
358-
359356
/* Define to 1 if you have the `flock' function. */
360357
#undef HAVE_FLOCK
361358

@@ -407,9 +404,6 @@
407404
/* Define to 1 if you have the `gai_strerror' function. */
408405
#undef HAVE_GAI_STRERROR
409406

410-
/* Define to 1 if you have the `gamma' function. */
411-
#undef HAVE_GAMMA
412-
413407
/* Define if we can use gcc inline assembler to get and set mc68881 fpcr */
414408
#undef HAVE_GCC_ASM_FOR_MC68881
415409

@@ -586,9 +580,6 @@
586580
/* Define to 1 if you have the `lchown' function. */
587581
#undef HAVE_LCHOWN
588582

589-
/* Define to 1 if you have the `lgamma' function. */
590-
#undef HAVE_LGAMMA
591-
592583
/* Define to 1 if you have the `dl' library (-ldl). */
593584
#undef HAVE_LIBDL
594585

@@ -1238,9 +1229,6 @@
12381229
/* Define to 1 if you have the <term.h> header file. */
12391230
#undef HAVE_TERM_H
12401231

1241-
/* Define to 1 if you have the `tgamma' function. */
1242-
#undef HAVE_TGAMMA
1243-
12441232
/* Define to 1 if you have the `timegm' function. */
12451233
#undef HAVE_TIMEGM
12461234

0 commit comments

Comments
 (0)