summaryrefslogtreecommitdiffstats
path: root/m4/ac_pkg_cython.m4
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2021-01-11 04:37:25 +0100
committerGravatar Nikias Bassen2021-01-11 04:37:25 +0100
commit7b1ccb403ad284b896a4e710fab578e397f101c0 (patch)
tree77a6a7963052d9e82440a5fa2199ba0cbfd7f780 /m4/ac_pkg_cython.m4
parent275cecdfc39641c692128c50b622c902cd1230f3 (diff)
downloadlibplist-7b1ccb403ad284b896a4e710fab578e397f101c0.tar.gz
libplist-7b1ccb403ad284b896a4e710fab578e397f101c0.tar.bz2
configure: Make sure to also search for cython3 if cython is not found
Diffstat (limited to 'm4/ac_pkg_cython.m4')
-rw-r--r--m4/ac_pkg_cython.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/ac_pkg_cython.m4 b/m4/ac_pkg_cython.m4
index 3b4c9a7..e0af96a 100644
--- a/m4/ac_pkg_cython.m4
+++ b/m4/ac_pkg_cython.m4
@@ -1,8 +1,8 @@
AC_DEFUN([AC_PROG_CYTHON],[
- AC_PATH_PROG([CYTHON],[cython])
+ AC_PATH_PROGS([CYTHON],[cython cython3])
if test -z "$CYTHON" ; then
- AC_MSG_WARN([cannot find 'cython' program. You should look at http://www.cython.org] or install your distribution specific cython package.)
+ AC_MSG_WARN([Unable to find 'cython' or 'cython3' program. You should look at https://cython.org or install your distribution specific cython package.])
CYTHON=false
elif test -n "$1" ; then
AC_MSG_CHECKING([for Cython version])
@@ -59,7 +59,7 @@ AC_DEFUN([AC_PROG_CYTHON],[
CYTHON='echo "Error: Cython version >= $1 is required. You have '"$cython_version"'. You should look at http://www.cython.org" ; false'
fi
else
- AC_MSG_WARN([cannot determine Cython version])
+ AC_MSG_WARN([Unable to determine Cython version])
CYTHON=false
fi
fi