From: Alexandre Duret-Lutz Date: Thu, 16 Jan 2003 11:47:13 +0000 (+0000) Subject: * m4/python.m4 (AM_PATH_PYTHON) <_AM_PYTHON_INTERPRETER_LIST>: Add X-Git-Tag: Release-1-7-2b~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04746fa53941a380a8806ef25069e0b5e3f63c16;p=thirdparty%2Fautomake.git * m4/python.m4 (AM_PATH_PYTHON) <_AM_PYTHON_INTERPRETER_LIST>: Add python2.3. --- diff --git a/ChangeLog b/ChangeLog index 02f4dadaa..15a6fbb26 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2003-01-16 Alexandre Duret-Lutz + * m4/python.m4 (AM_PATH_PYTHON) <_AM_PYTHON_INTERPRETER_LIST>: Add + python2.3. + * m4/python.m4 (AM_PATH_PYTHON): Query distutils for `pythondir' or `pyexecdir', for the sake of 64-bit distributions that usually use lib64/ instead of lib/. Fall back to the default directory diff --git a/m4/python.m4 b/m4/python.m4 index cc8c951ec..f3264fcb7 100644 --- a/m4/python.m4 +++ b/m4/python.m4 @@ -51,7 +51,7 @@ AC_DEFUN([AM_PATH_PYTHON], dnl $prefix/lib/site-python in 1.4 to $prefix/lib/python1.5/site-packages dnl in 1.5. m4_define([_AM_PYTHON_INTERPRETER_LIST], - [python python2 python2.2 python2.1 python2.0 python1.6 python1.5]) + [python python2 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5]) m4_if([$1],[],[ dnl No version check is needed. @@ -113,7 +113,6 @@ AC_DEFUN([AM_PATH_PYTHON], dnl site-packages directory, not the python standard library dnl directory like in previous automake betas. This behaviour dnl is more consistent with lispdir.m4 for example. - dnl Query distutils for this directory. distutils does not exist in dnl Python 1.5, so we fall back to the hardcoded directory if it dnl doesn't work.