summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-08-20 21:39:26 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-08-20 21:39:26 (GMT)
commitff3d9399fc79b64b23b60ac9a11fa9009e6333e7 (patch)
tree81be108c70c19a0f4cab93131f74d19674e17eed /configure
parent87f58d828a4bd0cb2fcea4fd9e9c51e615878d1f (diff)
downloadcpython-ff3d9399fc79b64b23b60ac9a11fa9009e6333e7.zip
cpython-ff3d9399fc79b64b23b60ac9a11fa9009e6333e7.tar.gz
cpython-ff3d9399fc79b64b23b60ac9a11fa9009e6333e7.tar.bz2
Close #12326: sys.platform is now always 'linux' on Linux
On Linux, sys.platform doesn't contain the major version anymore. It is now always 'linux', instead of 'linux2' or 'linux3' depending on the Linux version used to build Python.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index c96306d..6b954b6 100755
--- a/configure
+++ b/configure
@@ -3052,6 +3052,7 @@ then
MACHDEP="$ac_md_system$ac_md_release"
case $MACHDEP in
+ linux*) MACHDEP="linux2";;
cygwin*) MACHDEP="cygwin";;
darwin*) MACHDEP="darwin";;
irix646) MACHDEP="irix6";;