diff options
author | James McCoy <jamessan@debian.org> | 2018-08-01 20:44:36 -0400 |
---|---|---|
committer | James McCoy <jamessan@debian.org> | 2019-11-18 22:59:31 -0500 |
commit | 340946c45e9cccfd646c59228cecd85d24312ff6 (patch) | |
tree | 3ed4a685419c59bdd641bf080b488ed8fb9426ef /build/ac-macros | |
parent | 3b2f41a1f2264d8c08458060344fb7cb9dbbd3c7 (diff) |
python-builds
Build for multiple python versions. Patch from Matthias Klose
<doko@debian.org> via Ubuntu. Mostly, rename libsvn_swig_py to
libsvn_swig_py2.x.
Submitted upstream: http://svn.haxx.se/dev/archive-2008-05/0361.shtml
Gbp-Pq: Name python-builds
Diffstat (limited to 'build/ac-macros')
-rw-r--r-- | build/ac-macros/swig.m4 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build/ac-macros/swig.m4 b/build/ac-macros/swig.m4 index 2963872..3c05797 100644 --- a/build/ac-macros/swig.m4 +++ b/build/ac-macros/swig.m4 @@ -108,7 +108,8 @@ AC_DEFUN(SVN_FIND_SWIG, AC_CACHE_CHECK([for Python includes], [ac_cv_python_includes],[ ac_cv_python_includes="`$PYTHON ${abs_srcdir}/build/get-py-info.py --includes`" ]) - SWIG_PY_INCLUDES="\$(SWIG_INCLUDES) $ac_cv_python_includes" + PYTHON_INCLUDES="$ac_cv_python_includes" + SWIG_PY_INCLUDES="\$(SWIG_INCLUDES) \$(PYTHON_INCLUDES)" if test "$ac_cv_python_includes" = "none"; then AC_MSG_WARN([python bindings cannot be built without distutils module]) @@ -266,6 +267,7 @@ int main() AC_MSG_RESULT([$SWIG_RB_TEST_VERBOSE]) fi AC_SUBST(SWIG) + AC_SUBST(PYTHON_INCLUDES) AC_SUBST(SWIG_PY_INCLUDES) AC_SUBST(SWIG_PY_COMPILE) AC_SUBST(SWIG_PY_LINK) |