diff options
author | Christian Heimes <christian@python.org> | 2022-07-07 12:47:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-07 12:47:32 (GMT) |
commit | 29f86d6c28fa9ed39e42678776d6005eaf5090c8 (patch) | |
tree | 6eafbb247352f34f0ce87c372cb2e2da65d779a7 /configure | |
parent | ed136b96737fdbeff864079d12904cb962c6cce5 (diff) | |
download | cpython-29f86d6c28fa9ed39e42678776d6005eaf5090c8.zip cpython-29f86d6c28fa9ed39e42678776d6005eaf5090c8.tar.gz cpython-29f86d6c28fa9ed39e42678776d6005eaf5090c8.tar.bz2 |
gh-94642: Remove -D_XOPEN_SOURCE from more pkg-config CFLAGS (#94657)
Some pkg-config pc files define CFLAGS with -D_XOPEN_SOURCE=600. We always want _XOPEN_SOURCE=700.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -21031,6 +21031,7 @@ fi fi +READLINE_CFLAGS=$(echo $READLINE_CFLAGS | sed 's/-D_XOPEN_SOURCE=600//g') { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link readline" >&5 $as_echo_n "checking how to link readline... " >&6; } @@ -22028,7 +22029,7 @@ fi fi -CURSES_CFLAGS=$(echo $CURSES_CFLAGS | sed 's/-D_XOPEN_SOURCE=600//') +CURSES_CFLAGS=$(echo $CURSES_CFLAGS | sed 's/-D_XOPEN_SOURCE=600//g') if test "$have_curses" = no -a "$ac_sys_system" = "Darwin"; then @@ -22460,6 +22461,8 @@ fi fi +PANEL_CFLAGS=$(echo $PANEL_CFLAGS | sed 's/-D_XOPEN_SOURCE=600//g') + { $as_echo "$as_me:${as_lineno-$LINENO}: checking panel flags" >&5 $as_echo_n "checking panel flags... " >&6; } if test "x$have_panel" = xno; then : |