components/automake/automake-1.9.6/patches/python.m4.patch
changeset 553 29d0b0e1eaef
equal deleted inserted replaced
552:540527b8254a 553:29d0b0e1eaef
       
     1 --- automake-1.9.6/m4/python.m4.orig	Wed Oct 19 08:25:00 2011
       
     2 +++ automake-1.9.6/m4/python.m4	Wed Oct 19 08:25:30 2011
       
     3 @@ -34,13 +34,12 @@
       
     4  # numbers and dots only.
       
     5  AC_DEFUN([AM_PATH_PYTHON],
       
     6   [
       
     7 -  dnl Find a Python interpreter.  Python versions prior to 1.5 are not
       
     8 -  dnl supported because the default installation locations changed from
       
     9 -  dnl $prefix/lib/site-python in 1.4 to $prefix/lib/python1.5/site-packages
       
    10 -  dnl in 1.5.
       
    11 +  dnl Find a Python interpreter.  Python versions prior to 2.0 are not
       
    12 +  dnl supported. (2.0 was released on October 16, 2000).
       
    13    m4_define_default([_AM_PYTHON_INTERPRETER_LIST],
       
    14 -                    [python python2 python2.5 python2.4 python2.3 python2.2 dnl
       
    15 -python2.1 python2.0 python1.6 python1.5])
       
    16 +                    [python python2 python3 python3.2 python3.1 python3.0 dnl
       
    17 +python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 dnl
       
    18 +python2.0])
       
    19  
       
    20    m4_if([$1],[],[
       
    21      dnl No version check is needed.