diff options
| author | 2023-11-16 21:06:59 +0100 | |
|---|---|---|
| committer | 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], | |||
| 147 | [build_cython=false], | 147 | [build_cython=false], |
| 148 | [build_cython=true]) | 148 | [build_cython=true]) |
| 149 | if test "$build_cython" = "true"; then | 149 | if test "$build_cython" = "true"; then |
| 150 | AM_PATH_PYTHON(2.3) | 150 | AC_PROG_CYTHON([0.17.0]) |
| 151 | AC_PROG_CYTHON(0.17.0) | 151 | if [test "x$CYTHON" != "xfalse"]; then |
| 152 | CYTHON_PYTHON | 152 | AM_PATH_PYTHON([2.3], [CYTHON_PYTHON]) |
| 153 | fi | ||
| 153 | else | 154 | else |
| 154 | CYTHON=false | 155 | CYTHON=false |
| 155 | fi | 156 | fi |
