summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2016-09-10 00:59:49 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2016-09-10 00:59:49 (GMT)
commitc4b53afce491142b80b228a21a05de5dcfd8d36f (patch)
tree4fd78ef4e4fcabc46bbff33825cf7ffba4c64e58 /configure.ac
parentb44acebc7bdde44dc1f952a8fa498a155a35e509 (diff)
downloadcpython-c4b53afce491142b80b228a21a05de5dcfd8d36f.zip
cpython-c4b53afce491142b80b228a21a05de5dcfd8d36f.tar.gz
cpython-c4b53afce491142b80b228a21a05de5dcfd8d36f.tar.bz2
Issue #28046: Remove platform-specific directories from sys.path
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 1 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac
index b1af05e..328c610 100644
--- a/configure.ac
+++ b/configure.ac
@@ -78,7 +78,7 @@ if test "$cross_compiling" = yes; then
AC_MSG_ERROR([python$PACKAGE_VERSION interpreter not found])
fi
AC_MSG_RESULT($interp)
- PYTHON_FOR_BUILD='_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(shell test -f pybuilddir.txt && echo $(abs_builddir)/`cat pybuilddir.txt`:)$(srcdir)/Lib:$(srcdir)/Lib/$(PLATDIR) '$interp
+ PYTHON_FOR_BUILD='_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(shell test -f pybuilddir.txt && echo $(abs_builddir)/`cat pybuilddir.txt`:)$(srcdir)/Lib '$interp
fi
# Used to comment out stuff for rebuilding generated files
GENERATED_COMMENT='#'
@@ -910,12 +910,6 @@ if test x$PLATFORM_TRIPLET != x && test x$MULTIARCH != x; then
elif test x$PLATFORM_TRIPLET != x && test x$MULTIARCH = x; then
MULTIARCH=$PLATFORM_TRIPLET
fi
-if test x$PLATFORM_TRIPLET = x; then
- PLATDIR=plat-$MACHDEP
-else
- PLATDIR=plat-$PLATFORM_TRIPLET
-fi
-AC_SUBST(PLATDIR)
AC_SUBST(PLATFORM_TRIPLET)
if test x$MULTIARCH != x; then
MULTIARCH_CPPFLAGS="-DMULTIARCH=\\\"$MULTIARCH\\\""