Skip to content

Commit 97767d6

Browse files
committed
address review: cleanup configure.ac
1 parent 081d1e0 commit 97767d6

2 files changed

Lines changed: 5 additions & 28 deletions

File tree

configure

Lines changed: 4 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4338,19 +4338,6 @@ AS_VAR_IF(
43384338
[with_pydebug], [yes],
43394339
[AS_VAR_APPEND([LIBMPDEC_CFLAGS], [" -DTEST_COVERAGE"])])
43404340

4341-
if test "$have_ipa_pure_const_bug" = yes; then
4342-
# Some versions of gcc miscompile inline asm:
4343-
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46491
4344-
# https://gcc.gnu.org/ml/gcc/2010-11/msg00366.html
4345-
AS_VAR_APPEND([LIBMPDEC_CFLAGS], [" -fno-ipa-pure-const"])
4346-
fi
4347-
4348-
if test "$have_glibc_memmove_bug" = yes; then
4349-
# _FORTIFY_SOURCE wrappers for memmove and bcopy are incorrect:
4350-
# https://sourceware.org/ml/libc-alpha/2010-12/msg00009.html
4351-
AS_VAR_APPEND([LIBMPDEC_CFLAGS], [" -U_FORTIFY_SOURCE"])
4352-
fi
4353-
43544341
AC_SUBST([LIBMPDEC_CFLAGS])
43554342

43564343
# Check whether _decimal should use a coroutine-local or thread-local context
@@ -8295,7 +8282,7 @@ PY_STDLIB_MOD([_curses_panel],
82958282
)
82968283
if test "$have_mpdec" = "no"
82978284
then
8298-
AS_VAR_SET([py_cv_module_]_decimal, [n/a])
8285+
PY_STDLIB_MOD_SET_NA([_decimal])
82998286
fi
83008287
PY_STDLIB_MOD([_decimal],
83018288
[], [test "$have_mpdec" = "yes"],

0 commit comments

Comments
 (0)