comparison m4/ax_python.m4 @ 402:37cd2aea5d4a

update x_python.m4 to detect python 3.9
author Carl Byington <carl@five-ten-sg.com>
date Thu, 26 Mar 2020 09:22:43 -0700
parents 3cbda103e0ef
children
comparison
equal deleted inserted replaced
401:c1b1bbd42696 402:37cd2aea5d4a
53 #serial 18 53 #serial 18
54 54
55 AC_DEFUN([AX_PYTHON], 55 AC_DEFUN([AX_PYTHON],
56 [AC_MSG_CHECKING(for python build information) 56 [AC_MSG_CHECKING(for python build information)
57 AC_MSG_RESULT([]) 57 AC_MSG_RESULT([])
58 for python in python3.8 python3.7 python3.6 python3.5 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python; do 58 for python in python3.9 python3.8 python3.7 python3.6 python3.5 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python; do
59 AC_CHECK_PROGS(PYTHON_BIN, [$python]) 59 AC_CHECK_PROGS(PYTHON_BIN, [$python])
60 ax_python_bin=$PYTHON_BIN 60 ax_python_bin=$PYTHON_BIN
61 if test x$ax_python_bin != x; then 61 if test x$ax_python_bin != x; then
62 AC_CHECK_LIB($ax_python_bin, main, ax_python_lib=$ax_python_bin, ax_python_lib=no) 62 AC_CHECK_LIB($ax_python_bin, main, ax_python_lib=$ax_python_bin, ax_python_lib=no)
63 if test x$ax_python_lib == xno; then 63 if test x$ax_python_lib == xno; then