diff options
author | Johannes Dewender <github@JonnyJD.net> | 2014-02-06 18:32:15 (GMT) |
---|---|---|
committer | Johannes Dewender <github@JonnyJD.net> | 2014-02-06 18:32:15 (GMT) |
commit | 3754cd80cae41b23dc1069245ad5acdc460b8809 (patch) | |
tree | d5918df6d1660b708a1db9109a92625823ccbf3e /configure | |
parent | 317c26a66f142e8f2322c6b0556dba80d679e6b9 (diff) | |
download | Doxygen-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-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |