Skip to content

Commit 43827ff

Browse files
committed
---
yaml --- r: 13698 b: refs/heads/master c: c904927 h: refs/heads/master v: v3
1 parent 32e0b7f commit 43827ff

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: c2751c5640c9400c58de494e0ff8a49e0c1de5d2
2+
refs/heads/master: c904927f73d0bf1e0775aadfdc9dc6ae65b869c4
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf

trunk/configure

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,8 +311,13 @@ fi
311311
step_msg "looking for build programs"
312312

313313
probe_need CFG_PERL perl
314-
probe_need CFG_PYTHON python python2.6 python2 python3
315314
probe_need CFG_CURL curl
315+
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
316321

317322
# If we have no git directory then we are probably a tarball distribution
318323
# and shouldn't attempt to load submodules

0 commit comments

Comments
 (0)