diff options
| author | 2021-01-11 04:37:25 +0100 | |
|---|---|---|
| committer | 2021-01-11 04:37:25 +0100 | |
| commit | 7b1ccb403ad284b896a4e710fab578e397f101c0 (patch) | |
| tree | 77a6a7963052d9e82440a5fa2199ba0cbfd7f780 /m4/ac_pkg_cython.m4 | |
| parent | 275cecdfc39641c692128c50b622c902cd1230f3 (diff) | |
| download | libplist-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.m4 | 6 |
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 @@ | |||
| 1 | 1 | ||
| 2 | AC_DEFUN([AC_PROG_CYTHON],[ | 2 | AC_DEFUN([AC_PROG_CYTHON],[ |
| 3 | AC_PATH_PROG([CYTHON],[cython]) | 3 | AC_PATH_PROGS([CYTHON],[cython cython3]) |
| 4 | if test -z "$CYTHON" ; then | 4 | if test -z "$CYTHON" ; then |
| 5 | AC_MSG_WARN([cannot find 'cython' program. You should look at http://www.cython.org] or install your distribution specific cython package.) | 5 | AC_MSG_WARN([Unable to find 'cython' or 'cython3' program. You should look at https://cython.org or install your distribution specific cython package.]) |
| 6 | CYTHON=false | 6 | CYTHON=false |
| 7 | elif test -n "$1" ; then | 7 | elif test -n "$1" ; then |
| 8 | AC_MSG_CHECKING([for Cython version]) | 8 | AC_MSG_CHECKING([for Cython version]) |
| @@ -59,7 +59,7 @@ AC_DEFUN([AC_PROG_CYTHON],[ | |||
| 59 | CYTHON='echo "Error: Cython version >= $1 is required. You have '"$cython_version"'. You should look at http://www.cython.org" ; false' | 59 | CYTHON='echo "Error: Cython version >= $1 is required. You have '"$cython_version"'. You should look at http://www.cython.org" ; false' |
| 60 | fi | 60 | fi |
| 61 | else | 61 | else |
| 62 | AC_MSG_WARN([cannot determine Cython version]) | 62 | AC_MSG_WARN([Unable to determine Cython version]) |
| 63 | CYTHON=false | 63 | CYTHON=false |
| 64 | fi | 64 | fi |
| 65 | fi | 65 | fi |
