Visitar URL original
gh-115119: Default to --with-system-libmpdec=yes by erlend-aasland · Pull Request #118539 · python/cpython · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Use the same style as the surrounding code
  • Loading branch information
erlend-aasland committed May 5, 2024
commit 6f020d08b67c66bb78a838b60c3dc1aaf9d61545
7 changes: 3 additions & 4 deletions configure

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 8 additions & 7 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -3991,13 +3991,14 @@ AS_VAR_IF(
LIBMPDEC_LIBS="-lm \$(LIBMPDEC_A)"
LIBMPDEC_INTERNAL="\$(LIBMPDEC_HEADERS) \$(LIBMPDEC_A)"])

AS_VAR_IF([with_system_libmpdec], [yes],
[WITH_SAVE_ENV([
CPPFLAGS="$LIBMPDEC_CFLAGS $CPPFLAGS"
LDFLAGS="$LIBMPDEC_LIBS $LDFLAGS"
AC_SEARCH_LIBS([mpd_version], [mpdec],
[have_mpdec=yes], [have_mpdec=no])])],
[have_mpdec=yes])
AS_VAR_IF(
[with_system_libmpdec], [yes],
[WITH_SAVE_ENV(
[CPPFLAGS="$LIBMPDEC_CFLAGS $CPPFLAGS"
LDFLAGS="$LIBMPDEC_LIBS $LDFLAGS"
AC_SEARCH_LIBS([mpd_version], [mpdec],
[have_mpdec=yes], [have_mpdec=no])])],
[have_mpdec=yes])

# Disable forced inlining in debug builds, see GH-94847
AS_VAR_IF(
Expand Down