We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c2751c5 + 6322eda commit c904927Copy full SHA for c904927
configure
@@ -311,8 +311,13 @@ fi
311
step_msg "looking for build programs"
312
313
probe_need CFG_PERL perl
314
-probe_need CFG_PYTHON python python2.6 python2 python3
315
probe_need CFG_CURL curl
+probe_need CFG_PYTHON python2.7 python2.6 python2 python
316
+
317
+python_version=$($CFG_PYTHON -V 2>&1)
318
+if [ $(echo $python_version | grep -c '^Python 2\.[4567]') -ne 1 ]; then
319
+ err "Found $python_version, but LLVM requires Python 2.4-2.7"
320
+fi
321
322
# If we have no git directory then we are probably a tarball distribution
323
# and shouldn't attempt to load submodules
0 commit comments