python 2.6 support
authorMatthias Kramm <kramm@quiss.org>
Thu, 12 Feb 2009 13:58:35 +0000 (14:58 +0100)
committerMatthias Kramm <kramm@quiss.org>
Thu, 12 Feb 2009 13:58:35 +0000 (14:58 +0100)
m4/python.m4

index 53493e9..293c8eb 100644 (file)
@@ -8,8 +8,8 @@ else
     if test "x$PYTHON_LIB" '!=' "x" -o "x$PYTHON_INCLUDES" '!=' "x";then
         echo "Set both PYTHON_LIB and PYTHON_INCLUDES, or none at all"
     fi
-    # iterate through version 2.2 to 2.5
-    for v in 2 3 4 5; do
+    # iterate through version 2.2 to 2.6
+    for v in 2 3 4 5 6; do
         # Linux
         if test -f "/usr/include/python2.$v/Python.h";then
             PY_VERSION=2.$v