summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorJohannes Dewender <github@JonnyJD.net>2014-02-06 18:32:15 (GMT)
committerJohannes Dewender <github@JonnyJD.net>2014-02-06 18:32:15 (GMT)
commit3754cd80cae41b23dc1069245ad5acdc460b8809 (patch)
treed5918df6d1660b708a1db9109a92625823ccbf3e /configure
parent317c26a66f142e8f2322c6b0556dba80d679e6b9 (diff)
downloadDoxygen-3754cd80cae41b23dc1069245ad5acdc460b8809.zip
Doxygen-3754cd80cae41b23dc1069245ad5acdc460b8809.tar.gz
Doxygen-3754cd80cae41b23dc1069245ad5acdc460b8809.tar.bz2
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.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
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