diff options
author | Nikias Bassen | 2013-12-13 00:44:17 +0100 |
---|---|---|
committer | Nikias Bassen | 2013-12-13 00:44:17 +0100 |
commit | a798afc8b5b00a43f4b121168e0419df2d398338 (patch) | |
tree | c178d7a149028944254511d03f91266ca43cfcbd /m4/cython_python.m4 | |
parent | 3b7647499474619b3e24bf01105b6b037887a0ed (diff) | |
download | libplist-a798afc8b5b00a43f4b121168e0419df2d398338.tar.gz libplist-a798afc8b5b00a43f4b121168e0419df2d398338.tar.bz2 |
change build system to autotools
Diffstat (limited to 'm4/cython_python.m4')
-rw-r--r-- | m4/cython_python.m4 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/m4/cython_python.m4 b/m4/cython_python.m4 new file mode 100644 index 0000000..ba730d5 --- /dev/null +++ b/m4/cython_python.m4 @@ -0,0 +1,7 @@ +AC_DEFUN([CYTHON_PYTHON],[ + AC_REQUIRE([AC_PROG_CYTHON]) + AC_REQUIRE([AC_PYTHON_DEVEL]) + test "x$1" != "xno" || cython_shadow=" -noproxy" + AC_SUBST([CYTHON_PYTHON_OPT],[-python$cython_shadow]) + AC_SUBST([CYTHON_PYTHON_CPPFLAGS],[$PYTHON_CPPFLAGS]) +]) |