mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
bpo-38021: Modify AIX platform_tag so it covers PEP 425 needs (GH-17303)
Provides a richer platform tag for AIX that we expect to be sufficient for PEP 425 binary distribution identification. Any backports to earlier Python versions will be handled via setuptools. Patch by Michael Felt.
This commit is contained in:
parent
94d2c8df1a
commit
39afa2d314
8 changed files with 155 additions and 5 deletions
17
configure
vendored
17
configure
vendored
|
|
@ -10028,7 +10028,21 @@ $as_echo "no" >&6; }
|
|||
|
||||
fi
|
||||
rm -f core conftest.err conftest.$ac_objext \
|
||||
conftest$ac_exeext conftest.$ac_ext;;
|
||||
conftest$ac_exeext conftest.$ac_ext
|
||||
# BUILD_GNU_TYPE + AIX_BUILDDATE are used to construct the platform_tag
|
||||
# of the AIX system used to build/package Python executable. This tag serves
|
||||
# as a baseline for bdist module packages
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the system builddate" >&5
|
||||
$as_echo_n "checking for the system builddate... " >&6; }
|
||||
AIX_BUILDDATE=$(lslpp -Lcq bos.mp64 | awk -F: '{ print $NF }')
|
||||
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define AIX_BUILDDATE $AIX_BUILDDATE
|
||||
_ACEOF
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_BUILDDATE" >&5
|
||||
$as_echo "$AIX_BUILDDATE" >&6; }
|
||||
;;
|
||||
*) ;;
|
||||
esac
|
||||
|
||||
|
|
@ -10267,7 +10281,6 @@ fi
|
|||
|
||||
|
||||
|
||||
|
||||
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
|
||||
if test -n "$ac_tool_prefix"; then
|
||||
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue