summaryrefslogtreecommitdiff
blob: 4a653c50f4075593e556f2c778e50531682e0283 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- configure.org	2005-07-28 08:44:03.077069440 -0700
+++ configure	2005-07-28 08:45:12.132571408 -0700
@@ -3045,7 +3045,7 @@
 echo "configure:3046: checking for python includes" >&5
   python_inc=no
   python_search_path="/neo/opt /usr/local /usr /c"
-  python_versions="2.2 2.1 2.0 1.5 22 21 20 15"
+  python_versions="2.4 2.3 2.2 2.1 2.0 1.5 22 21 20 15"
   if test $cs_cv_python_path != "no" -a -x $cs_cv_python_path; then
     python_bin=$cs_cv_python_path
     vers=`$python_bin -c "import sys; print sys.version[:3]"`
@@ -3082,7 +3082,7 @@
     PYTHON=$python_bin
     PYTHON_INC="-I$python_inc"
     PYTHON_LIB=$python_lib
-    PYTHON_SITE=`$python_bin -c "import site; print site.sitedirs[0]"`
+    PYTHON_SITE=`$python_bin -c "import os,sys; print os.path.join(sys.prefix, 'lib','python'+sys.version[:3],'site-packages')"`
     BUILD_WRAPPERS="$BUILD_WRAPPERS python"
   fi
 fi