diff options
author | Dave Nicolson | 2023-11-16 21:06:59 +0100 |
---|---|---|
committer | GitHub | 2023-11-16 21:06:59 +0100 |
commit | 73b4b2d2e851b6042a4b2ac4b1d473aeabf3214c (patch) | |
tree | ee9e45644f4de030a32dad5d888d9e5bb2ee701d /configure.ac | |
parent | 2cd858c679d25633077ca78b67182a9b77653816 (diff) | |
download | libplist-73b4b2d2e851b6042a4b2ac4b1d473aeabf3214c.tar.gz libplist-73b4b2d2e851b6042a4b2ac4b1d473aeabf3214c.tar.bz2 |
Allow building without Python
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index d07ff30..0fd1364 100644 --- a/configure.ac +++ b/configure.ac @@ -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 |