Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
13487470
Commit
13487470
authored
Oct 21, 2012
by
Matthias Klose
Browse files
Options
Browse Files
Download
Plain Diff
- Issue #16262: fix out-of-src-tree builds, if mercurial is not installed.
parents
f577686f
aee3c76a
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
163 additions
and
172 deletions
+163
-172
Makefile.pre.in
Makefile.pre.in
+1
-1
Misc/NEWS
Misc/NEWS
+2
-0
Parser/asdl_c.py
Parser/asdl_c.py
+0
-1
configure
configure
+154
-164
configure.ac
configure.ac
+6
-6
No files found.
Makefile.pre.in
View file @
13487470
...
...
@@ -308,7 +308,7 @@ AST_ASDL= $(srcdir)/Parser/Python.asdl
ASDLGEN_FILES
=
$(srcdir)
/Parser/asdl.py
$(srcdir)
/Parser/asdl_c.py
# XXX Note that a build now requires Python exist before the build starts
ASDLGEN
=
@
DISABLE_
ASDLGEN@
$(srcdir)
/Parser/asdl_c.py
ASDLGEN
=
@ASDLGEN@
$(srcdir)
/Parser/asdl_c.py
##########################################################################
# Python
...
...
Misc/NEWS
View file @
13487470
...
...
@@ -191,6 +191,8 @@ Tests
Build
-----
-
Issue
#
16262
:
fix
out
-
of
-
src
-
tree
builds
,
if
mercurial
is
not
installed
.
-
Issue
#
15298
:
ensure
_sysconfigdata
is
generated
in
build
directory
,
not
source
directory
.
...
...
Parser/asdl_c.py
View file @
13487470
...
...
@@ -5,7 +5,6 @@
# handle fields that have a type but no name
import
os
,
sys
import
subprocess
import
asdl
...
...
configure
View file @
13487470
This diff is collapsed.
Click to expand it.
configure.ac
View file @
13487470
...
...
@@ -1000,12 +1000,12 @@ if test "$cross_compiling" = yes; then
fi
AC_SUBST(READELF)
AC_SUBST(
DISABLE_
ASDLGEN)
DISABLE_ASDLGEN=""
AC_CHECK_PROG(HAS_PYTHON, python, found, not-found)
if test $HAS_HG != found -o $HAS_PYTHON != found
then
DISABLE_ASDLGEN="@echo hg: $HAS_HG, python: $HAS_PYTHON! cannot run \$(srcdir)/Parser/asdl_c.py #
"
AC_SUBST(ASDLGEN)
AC_CHECK_PROGS(PYTHON, python$PACKAGE_VERSION python3 python, not-found)
if $PYTHON = not-found; then
ASDLGEN="@echo python: $PYTHON! cannot run \$(srcdir)/Parser/asdl_c.py #"
else
ASDLGEN="$PYTHON
"
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment