diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2013-10-06 19:28:43 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2013-10-06 19:28:43 (GMT) |
commit | b079d8a56f9283470f365e153e57615b175e42b8 (patch) | |
tree | d1de5a18ea403648869a67282d00155255df4bb5 | |
parent | 983507e0a65e5c2d51209740a89311e122e4f389 (diff) | |
download | Doxygen-b079d8a56f9283470f365e153e57615b175e42b8.zip Doxygen-b079d8a56f9283470f365e153e57615b175e42b8.tar.gz Doxygen-b079d8a56f9283470f365e153e57615b175e42b8.tar.bz2 |
Make Python detection in configure work with version older than 2.7
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -569,7 +569,7 @@ if test "$f_python" = NO; then for j in $python_dirs; do if test -x "$j/$i"; then python_found=YES - if test `$j/$i -c "import sys; print sys.version_info.major"` = 2; then + if test `$j/$i -c "import sys; print sys.version_info[0]"` = 2; then python_prog="$j/$i" break 2 fi |