summaryrefslogtreecommitdiff
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorRalf Schmitt <ralf@systemexit.de>2011-05-31 17:10:03 -0500
committerRalf Schmitt <ralf@systemexit.de>2011-05-31 17:10:03 -0500
commit000f0ee7a81e7e29d38ed58a8d939e2f0bdaf224 (patch)
tree2a8eea336e50dcdaa79052e8accb6285d9d18ef1 /Makefile.pre.in
parentc5684f053f104af71abf3884c6e3f305e3317cfe (diff)
downloadcpython-000f0ee7a81e7e29d38ed58a8d939e2f0bdaf224.tar.gz
disable ASDLGEN if hg won't work, or if python is not installed.
This change makes configure check for - the existence of a hg repository - the hg executable itself - the python executable Running $(srcdir)/Parser/asdl_c.py (i.e. ASDLGEN) will fail if any of the above prerequisites is missing, so we now disable it instead. closes #12225
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index f6ecacf307..3cf8ec115f 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -274,7 +274,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= $(srcdir)/Parser/asdl_c.py
+ASDLGEN= @DISABLE_ASDLGEN@ $(srcdir)/Parser/asdl_c.py
##########################################################################
# Python