comparison m4/ax_python.m4 @ 253:115b871c61a1

fixes from fedora for python 2.7
author Carl Byington <carl@five-ten-sg.com>
date Wed, 28 Jul 2010 20:38:17 -0700
parents bfc35fd55254
children 1e1970f93f94
comparison
equal deleted inserted replaced
252:4573b536177f 253:115b871c61a1
57 57
58 AC_DEFUN([AX_PYTHON], 58 AC_DEFUN([AX_PYTHON],
59 [ 59 [
60 AC_MSG_CHECKING(for python build information) 60 AC_MSG_CHECKING(for python build information)
61 AC_MSG_RESULT([]) 61 AC_MSG_RESULT([])
62 for python in python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python; do 62 for python in python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python; do
63 AC_CHECK_PROGS(PYTHON_BIN, [$python]) 63 AC_CHECK_PROGS(PYTHON_BIN, [$python])
64 ax_python_bin=$PYTHON_BIN 64 ax_python_bin=$PYTHON_BIN
65 if test x$ax_python_bin != x; then 65 if test x$ax_python_bin != x; then
66 AC_CHECK_LIB($ax_python_bin, main, ax_python_lib=$ax_python_bin, ax_python_lib=no) 66 AC_CHECK_LIB($ax_python_bin, main, ax_python_lib=$ax_python_bin, ax_python_lib=no)
67 AC_CHECK_HEADER([$ax_python_bin/Python.h], 67 AC_CHECK_HEADER([$ax_python_bin/Python.h],