summaryrefslogtreecommitdiff
blob: 019f3253d876f94e3b79f5f5398ddc337e3c3498 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
From 1671e1004e18fa9bbce410050d1365374ececb6a Mon Sep 17 00:00:00 2001
From: Alexandre Rostovtsev <tetromino@gentoo.org>
Date: Tue, 18 Dec 2012 02:22:47 -0500
Subject: [PATCH] build/test/install python bindings manually

To support building for multiple python ABIs, we want to skip checks for
python in configure, and build/test/install python bindings manually.
---
 configure.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.in b/configure.in
index fc8d5a8..6312c37 100644
--- a/configure.in
+++ b/configure.in
@@ -296,7 +296,7 @@ PYTHON_INCLUDES=
 PYTHON_SITE_PACKAGES=
 pythondir=
 AC_ARG_WITH(python, [  --with-python[=DIR]    Build Python bindings if found])
-if test "$with_python" != "no" ; then
+if false ; then
     if test -x "$with_python/bin/python"
     then
         echo Found python in $with_python/bin/python
@@ -365,7 +365,7 @@ except: print 0"`
         pythondir='$(libdir)/python$(PYTHON_VERSION)/site-packages'
     fi
 fi
-AM_CONDITIONAL(WITH_PYTHON, test "$PYTHON_INCLUDES" != "")
+AM_CONDITIONAL(WITH_PYTHON, test "$with_python" != "no")
 if test "$PYTHON_INCLUDES" != ""
 then
     PYTHON_SUBDIR=python
-- 
1.8.0.2