]> granicus.if.org Git - python/commit
disable ASDLGEN if hg won't work, or if python is not installed.
authorRalf Schmitt <ralf@systemexit.de>
Tue, 31 May 2011 22:10:03 +0000 (17:10 -0500)
committerRalf Schmitt <ralf@systemexit.de>
Tue, 31 May 2011 22:10:03 +0000 (17:10 -0500)
commit069456267e96c359ec7b4bd4073c3a027629d79a
treeed732a1ba6380997a99245439f7d05c828a58536
parentac4e5abc788dfd10474fe3b0a6c5c802d3159763
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
Makefile.pre.in
configure.in