diff options
author | Michael Felt <aixtools@users.noreply.github.com> | 2019-04-12 14:15:32 (GMT) |
---|---|---|
committer | Victor Stinner <vstinner@redhat.com> | 2019-04-12 14:15:32 (GMT) |
commit | 9d949f7796da612f1b588d18c6f041376992a9fc (patch) | |
tree | 63decb39986d71d9f431cf17d8806e511126b7a2 /configure | |
parent | 9b8314cfe29ca532fc335277f6c36b72e6132922 (diff) | |
download | cpython-9d949f7796da612f1b588d18c6f041376992a9fc.zip cpython-9d949f7796da612f1b588d18c6f041376992a9fc.tar.gz cpython-9d949f7796da612f1b588d18c6f041376992a9fc.tar.bz2 |
bpo-36588: On AIX, remove major version from sys.platform (GH-12787)
On AIX, sys.platform doesn't contain the major version anymore.
Always return 'aix', instead of 'aix3' .. 'aix7'. Since
older Python versions include the version number, it is recommended to
always use sys.platform.startswith('aix').
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3281,6 +3281,7 @@ then MACHDEP="$ac_md_system$ac_md_release" case $MACHDEP in + aix*) MACHDEP="aix";; linux*) MACHDEP="linux";; cygwin*) MACHDEP="cygwin";; darwin*) MACHDEP="darwin";; @@ -10199,7 +10200,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. |