Skip to content

Commit

Permalink
Allow building without Python
Browse files Browse the repository at this point in the history
  • Loading branch information
dnicolson committed Nov 16, 2023
1 parent 2cd858c commit 73b4b2d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,10 @@ AC_ARG_WITH([cython],
[build_cython=false],
[build_cython=true])
if test "$build_cython" = "true"; then
AM_PATH_PYTHON(2.3)
AC_PROG_CYTHON(0.17.0)
CYTHON_PYTHON
AC_PROG_CYTHON([0.17.0])
if [test "x$CYTHON" != "xfalse"]; then
AM_PATH_PYTHON([2.3], [CYTHON_PYTHON])
fi
else
CYTHON=false
fi
Expand Down

0 comments on commit 73b4b2d

Please sign in to comment.