|
--- ./configure.orig 2004-12-13 16:52:22.000000000 +0100
|
|
+++ ./configure 2004-12-13 16:53:50.000000000 +0100
|
|
@@ -7384,6 +7384,42 @@
|
|
PYTHON_INCLUDE_DIR=""
|
|
PYTHON_LIB_DIR=""
|
|
have_python_include=no
|
|
+ ac_safe=`echo "python2.4/Python.h" | sed 'y%./+-%__p_%'`
|
|
+echo $ac_n "checking for python2.4/Python.h""... $ac_c" 1>&6
|
|
+echo "configure:7426: checking for python2.4/Python.h" >&5
|
|
+if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
|
+ echo $ac_n "(cached) $ac_c" 1>&6
|
|
+else
|
|
+ cat > conftest.$ac_ext <<EOF
|
|
+#line 7431 "configure"
|
|
+#include "confdefs.h"
|
|
+#include <python2.4/Python.h>
|
|
+EOF
|
|
+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
+{ (eval echo configure:7436: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
+if test -z "$ac_err"; then
|
|
+ rm -rf conftest*
|
|
+ eval "ac_cv_header_$ac_safe=yes"
|
|
+else
|
|
+ echo "$ac_err" >&5
|
|
+ echo "configure: failed program was:" >&5
|
|
+ cat conftest.$ac_ext >&5
|
|
+ rm -rf conftest*
|
|
+ eval "ac_cv_header_$ac_safe=no"
|
|
+fi
|
|
+rm -f conftest*
|
|
+fi
|
|
+if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
|
|
+ echo "$ac_t""yes" 1>&6
|
|
+ have_python_include=yes
|
|
+else
|
|
+ echo "$ac_t""no" 1>&6
|
|
+fi
|
|
+
|
|
+ PYTHON_INCLUDE_DIR=$prefix/include/python2.4
|
|
+ PYTHON_LIB_DIR=$libdir/python2.4
|
|
+ if test x$have_python_include = xno; then
|
|
ac_safe=`echo "python2.3/Python.h" | sed 'y%./+-%__p_%'`
|
|
echo $ac_n "checking for python2.3/Python.h""... $ac_c" 1>&6
|
|
echo "configure:7426: checking for python2.3/Python.h" >&5
|
|
@@ -7419,6 +7455,7 @@
|
|
|
|
PYTHON_INCLUDE_DIR=$prefix/include/python2.3
|
|
PYTHON_LIB_DIR=$libdir/python2.3
|
|
+ fi
|
|
if test x$have_python_include = xno; then
|
|
ac_safe=`echo "python2.2/Python.h" | sed 'y%./+-%__p_%'`
|
|
echo $ac_n "checking for python2.2/Python.h""... $ac_c" 1>&6
|