comparison m4/ax_python.m4 @ 382:7eab29e13e61

changes for building on fedora 30
author Carl Byington <carl@five-ten-sg.com>
date Thu, 25 Jul 2019 07:18:19 -0700
parents 1e1970f93f94
children
comparison
equal deleted inserted replaced
381:d52cc63db773 382:7eab29e13e61
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.7 python3.6 python3.5 python3.4 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.8 python3.7 python3.6 python3.5 python3.4 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