summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2013-10-06 19:28:43 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2013-10-06 19:28:43 (GMT)
commitb079d8a56f9283470f365e153e57615b175e42b8 (patch)
treed1de5a18ea403648869a67282d00155255df4bb5 /configure
parent983507e0a65e5c2d51209740a89311e122e4f389 (diff)
downloadDoxygen-b079d8a56f9283470f365e153e57615b175e42b8.zip
Doxygen-b079d8a56f9283470f365e153e57615b175e42b8.tar.gz
Doxygen-b079d8a56f9283470f365e153e57615b175e42b8.tar.bz2
Make Python detection in configure work with version older than 2.7
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 0434457..dd4344d 100755
--- a/configure
+++ b/configure
@@ -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