Permalink
Browse files

detect python2 as Python 2 binary

On some distributions like Arch Linux
"python" is Python 3 and "python2" is Python version 2.

We now try "python2" first and use it if available.
  • Loading branch information...
JonnyJD committed Feb 6, 2014
1 parent 317c26a commit 3754cd80cae41b23dc1069245ad5acdc460b8809
Showing with 1 addition and 1 deletion.
  1. +1 −1 configure
View
@@ -596,7 +596,7 @@ fi
printf " Checking for python... "
if test "$f_python" = NO; then
python_names="python"
python_names="python2 python"
python_dirs="$bin_dirs /usr/bin /usr/local/bin /bin /sbin"
python_prog=NO
python_found=NO

0 comments on commit 3754cd8

Please sign in to comment.