|
|
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- # # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # Please add additional copyright information _after_ the line containing # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by # the ./scripts/Create-CopyPatch script. Do not edit this copyright text! # # ROCK Linux: rock-src/package/kasc/paragui/python24.patch # ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # # --- ROCK-COPYRIGHT-NOTE-END ---
--- ./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
|