From 3754cd80cae41b23dc1069245ad5acdc460b8809 Mon Sep 17 00:00:00 2001 From: Johannes Dewender Date: Thu, 6 Feb 2014 19:32:15 +0100 Subject: 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. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 01aac54..c32b32c 100755 --- a/configure +++ b/configure @@ -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 -- cgit v0.12