[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Feature request: python2.1/Python.h
From: |
Heikki Johannes Junes |
Subject: |
Re: Feature request: python2.1/Python.h |
Date: |
Wed, 10 Oct 2001 01:56:17 +0300 (EET DST) |
Here is a patch which enables default path for Python 2.1 headers.
-------------------------
--- VERSION~ Tue Oct 9 16:43:46 2001
+++ VERSION Wed Oct 10 01:13:08 2001
@@ -2,7 +2,7 @@
MAJOR_VERSION=1
MINOR_VERSION=5
PATCH_LEVEL=16
-MY_PATCH_LEVEL=
+MY_PATCH_LEVEL=hjj1
# use the above to send patches: MY_PATCH_LEVEL is always empty for a
# released version.
--- CHANGES~ Tue Oct 9 01:04:37 2001
+++ CHANGES Wed Oct 10 01:15:26 2001
@@ -1,3 +1,8 @@
+1.5.16.hjj1
+===========
+
+* Enable python2.1/Python.h
+
1.5.15.jcn1
===========
--- configure~ Wed Oct 10 01:22:11 2001
+++ configure Wed Oct 10 01:22:58 2001
@@ -3497,7 +3497,7 @@
fi
-for ac_hdr in python2.0/Python.h python2/Python.h python/Python.h
python1.5/Python.h Python.h
+for ac_hdr in python2.1/Python.h python2.0/Python.h python2/Python.h
python/Python.h python1.5/Python.h Python.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
--- config.hh.in~ Mon Sep 24 02:04:29 2001
+++ config.hh.in Wed Oct 10 01:08:28 2001
@@ -41,6 +41,9 @@
/* define if you have kpse_find_tfm */
#define HAVE_KPSE_FIND_TFM 0
+/* define if you have python2.1/Python.h header */
+#define HAVE_PYTHON2_1_PYTHON_H 0
+
/* define if you have python2.0/Python.h header */
#define HAVE_PYTHON2_0_PYTHON_H 0
--- configure.in~ Mon Oct 8 00:36:03 2001
+++ configure.in Wed Oct 10 01:07:57 2001
@@ -53,7 +53,7 @@
AC_PATH_PROG(PERL, perl, error)
-AC_HAVE_HEADERS(python2.0/Python.h python2/Python.h python/Python.h
python1.5/Python.h Python.h)
+AC_HAVE_HEADERS(python2.1/Python.h python2.0/Python.h python2/Python.h
python/Python.h python1.5/Python.h Python.h)
AC_STEPMAKE_END
--- modules/midi.c~ Mon Oct 8 00:36:32 2001
+++ modules/midi.c Wed Oct 10 01:28:30 2001
@@ -23,6 +23,8 @@
/* urg */
#if HAVE_PYTHON2_PYTHON_H
#include <python2/Python.h>~
+#elif HAVE_PYTHON2_1_PYTHON_H
+#include <python2.1/Python.h>
#elif HAVE_PYTHON2_0_PYTHON_H
#include <python2.0/Python.h>
#elif HAVE_PYTHON1_5_PYTHON_H
-------------------------
Heikki
--
Heikki Junes