Mercurial > libpst
comparison m4/ax_python.m4 @ 221:06d759f640f6
fedora 11 has python2.6, remove pdf version of the man pages
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Tue, 23 Jun 2009 14:52:50 -0700 |
parents | 17d2d6a7587f |
children | d9ba8fa961e7 |
comparison
equal
deleted
inserted
replaced
220:e89f6c7751bc | 221:06d759f640f6 |
---|---|
56 # special exception to the GPL to apply to your modified version as well. | 56 # special exception to the GPL to apply to your modified version as well. |
57 | 57 |
58 AC_DEFUN([AX_PYTHON], | 58 AC_DEFUN([AX_PYTHON], |
59 [AC_MSG_CHECKING(for python build information) | 59 [AC_MSG_CHECKING(for python build information) |
60 AC_MSG_RESULT([]) | 60 AC_MSG_RESULT([]) |
61 for python in python2.5 python2.4 python2.3 python2.2 python2.1 python; do | 61 for python in python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python; do |
62 AC_CHECK_PROGS(PYTHON_BIN, [$python]) | 62 AC_CHECK_PROGS(PYTHON_BIN, [$python]) |
63 ax_python_bin=$PYTHON_BIN | 63 ax_python_bin=$PYTHON_BIN |
64 if test x$ax_python_bin != x; then | 64 if test x$ax_python_bin != x; then |
65 AC_CHECK_LIB($ax_python_bin, main, ax_python_lib=$ax_python_bin, ax_python_lib=no) | 65 AC_CHECK_LIB($ax_python_bin, main, ax_python_lib=$ax_python_bin, ax_python_lib=no) |
66 AC_CHECK_HEADER([$ax_python_bin/Python.h], | 66 AC_CHECK_HEADER([$ax_python_bin/Python.h], |