bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

python2.2 support


From: MATSUURA Takanori
Subject: python2.2 support
Date: Wed, 06 Feb 2002 01:34:27 +0900 (JST)

Hi.

To support python-2.2, the following patch is needed.


--- lilypond-1.5.29/config.hh.in.python22       Mon Feb  4 23:34:21 2002
+++ lilypond-1.5.29/config.hh.in        Mon Feb  4 23:34:57 2002
@@ -41,6 +41,9 @@
 /* define if you have kpse_find_tfm */
 #define HAVE_KPSE_FIND_TFM 0
 
+/* define if you have python2.2/Python.h header */
+#define HAVE_PYTHON2_2_PYTHON_H 0
+
 /* define if you have python2.1/Python.h header */
 #define HAVE_PYTHON2_1_PYTHON_H 0
 
--- lilypond-1.5.29/configure.in.python22       Mon Feb  4 23:33:19 2002
+++ lilypond-1.5.29/configure.in        Mon Feb  4 23:33:46 2002
@@ -52,7 +52,7 @@
 
 AC_PATH_PROG(PERL, perl, error)
 
-AC_HAVE_HEADERS(python2.1/Python.h python2.0/Python.h python2/Python.h 
python/Python.h python1.5/Python.h Python.h)
+AC_HAVE_HEADERS(python2.2/Python.h python2.1/Python.h python2.0/Python.h 
python2/Python.h python/Python.h python1.5/Python.h Python.h)
 
 
 AC_STEPMAKE_END
--- lilypond-1.5.29/python/midi.c.python22      Mon Feb  4 23:41:27 2002
+++ lilypond-1.5.29/python/midi.c       Mon Feb  4 23:42:53 2002
@@ -23,6 +23,8 @@
 /* urg */
 #if HAVE_PYTHON2_PYTHON_H
 #include <python2/Python.h>
+#elif HAVE_PYTHON2_2_PYTHON_H
+#include <python2.2/Python.h>
 #elif HAVE_PYTHON2_1_PYTHON_H
 #include <python2.1/Python.h>
 #elif HAVE_PYTHON2_0_PYTHON_H



reply via email to

[Prev in Thread] Current Thread [Next in Thread]