mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
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.
This commit is contained in:
parent
ed136b9673
commit
29f86d6c28
2 changed files with 10 additions and 2 deletions
5
configure
generated
vendored
5
configure
generated
vendored
|
|
@ -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 :
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue