diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-07-28 01:30:06 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-07-28 01:30:06 (GMT) |
commit | 4b53359090b7b3cfad128e40083f563f7c1900e4 (patch) | |
tree | 68522036faff8daa2d5dcc1afac13a526d3f6a5e /configure.ac | |
parent | 2561726aa6cd5b92a21e9a8510bd9eca02c5932a (diff) | |
parent | eac67be948e972dc12b7b4abfa83b09becf6422c (diff) | |
download | cpython-4b53359090b7b3cfad128e40083f563f7c1900e4.zip cpython-4b53359090b7b3cfad128e40083f563f7c1900e4.tar.gz cpython-4b53359090b7b3cfad128e40083f563f7c1900e4.tar.bz2 |
Issue #27490: Merge pgen cross-compile logic from 3.5
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index d5b8192..34ce82c 100644 --- a/configure.ac +++ b/configure.ac @@ -81,12 +81,15 @@ if test "$cross_compiling" = yes; then 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 fi + PGEN_DEPENDENCY='' elif test "$cross_compiling" = maybe; then AC_MSG_ERROR([Cross compiling required --host=HOST-TUPLE and --build=ARCH]) else PYTHON_FOR_BUILD='./$(BUILDPYTHON) -E' + PGEN_DEPENDENCY='$(PGEN)' fi AC_SUBST(PYTHON_FOR_BUILD) +AC_SUBST(PGEN_DEPENDENCY) dnl Ensure that if prefix is specified, it does not end in a slash. If dnl it does, we get path names containing '//' which is both ugly and |