summaryrefslogtreecommitdiff
path: root/package/libxml2/patches/patch-configure
blob: f5a2ba3559fbde472df718737aa6f86c2bd7b08b (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
--- libxml2-2.7.8.orig/configure	2010-11-04 18:28:14.000000000 +0100
+++ libxml2-2.7.8/configure	2011-10-15 15:07:16.000000000 +0200
@@ -13423,17 +13423,17 @@ case ${host} in
 esac
 
 
-
+set -x
 PYTHON_VERSION=
 PYTHON_INCLUDES=
 PYTHON_SITE_PACKAGES=
 PYTHON_TESTS=
 pythondir=
 if test "$with_python" != "no" ; then
-    if test -x "$with_python/bin/python"
+    if test -x "$with_python/bin/hostpython"
     then
-        echo Found python in $with_python/bin/python
-        PYTHON="$with_python/bin/python"
+        echo Found python in $with_python/bin/hostpython
+        PYTHON="$with_python/bin/hostpython"
     else
         if test -x "$with_python/python.exe"
         then
@@ -13558,7 +13558,7 @@ else
     PYTHON_SUBDIR=
 fi
 
-
+set +x
 
 
 WITH_MODULES=0