summaryrefslogtreecommitdiffstats
path: root/configure.in
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.in
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.in')
-rw-r--r--configure.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index ec9a24a..ec390e5 100644
--- a/configure.in
+++ b/configure.in
@@ -304,6 +304,7 @@ then
MACHDEP="$ac_md_system$ac_md_release"
case $MACHDEP in
+ linux*) MACHDEP="linux2";;
cygwin*) MACHDEP="cygwin";;
darwin*) MACHDEP="darwin";;
irix646) MACHDEP="irix6";;