Skip to content

Commit 73f0729

Browse files
committed
address review: move warning in the configure
1 parent 1eca085 commit 73f0729

2 files changed

Lines changed: 13 additions & 11 deletions

File tree

configure

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

configure.ac

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4218,11 +4218,6 @@ AS_VAR_IF([with_system_libmpdec], [no],
42184218
the bundled copy of libmpdecimal is scheduled for removal in Python 3.16;
42194219
consider using a system installed mpdecimal library.])])])
42204220

4221-
AS_IF([test "$with_system_libmpdec" = "yes" && test "$have_mpdec" = "no"],
4222-
[AC_MSG_WARN([m4_normalize([
4223-
no system libmpdecimal found; falling back to pure-Python version
4224-
for the decimal module])])])
4225-
42264221
# Disable forced inlining in debug builds, see GH-94847
42274222
AS_VAR_IF(
42284223
[with_pydebug], [yes],
@@ -8139,6 +8134,12 @@ PY_STDLIB_MOD([_curses_panel],
81398134
PY_STDLIB_MOD([_decimal],
81408135
[], [test "$have_mpdec" = "yes"],
81418136
[$LIBMPDEC_CFLAGS], [$LIBMPDEC_LIBS])
8137+
8138+
AS_IF([test "$with_system_libmpdec" = "yes" && test "$have_mpdec" = "no"],
8139+
[AC_MSG_WARN([m4_normalize([
8140+
no system libmpdecimal found; falling back to pure-Python version
8141+
for the decimal module])])])
8142+
81428143
PY_STDLIB_MOD([_dbm],
81438144
[test -n "$with_dbmliborder"], [test "$have_dbm" != "no"],
81448145
[$DBM_CFLAGS], [$DBM_LIBS])

0 commit comments

Comments
 (0)