summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-07-29 05:52:32 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-07-29 05:52:32 (GMT)
commit43a94a7e2fd130ed15bd8a0a190f4d230b607514 (patch)
tree99e10f2bfb501a137681e2fab29df18042141681 /configure.ac
parent6c7d5a2553715ee78854ede170c4ea8d0c544fbc (diff)
downloadcpython-43a94a7e2fd130ed15bd8a0a190f4d230b607514.zip
cpython-43a94a7e2fd130ed15bd8a0a190f4d230b607514.tar.gz
cpython-43a94a7e2fd130ed15bd8a0a190f4d230b607514.tar.bz2
Issue #27641: Comment out regeneration rules when cross compiling
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 8135c71..5312c2b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -49,7 +49,6 @@ fi
AC_CONFIG_SRCDIR([Include/object.h])
AC_CONFIG_HEADER(pyconfig.h)
-AC_SUBST(cross_compiling)
AC_CANONICAL_HOST
AC_SUBST(build)
AC_SUBST(host)
@@ -81,15 +80,16 @@ 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=''
+ # Used to comment out stuff for rebuilding generated files
+ GENERATED_COMMENT='#'
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)'
+ GENERATED_COMMENT=''
fi
AC_SUBST(PYTHON_FOR_BUILD)
-AC_SUBST(PGEN_DEPENDENCY)
+AC_SUBST(GENERATED_COMMENT)
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