+1.5.11.jcn1
+===========
+
+* Add -p flag to package-diff.py's diff invocation, to show changed function.
+
+* Add configure checks for python headers.
+
+* Make midi module.
+
+1.5.11
+======
+
1.5.10.jcn3
===========
MAJOR_VERSION=1
MINOR_VERSION=5
PATCH_LEVEL=11
-MY_PATCH_LEVEL=
+MY_PATCH_LEVEL=jcn1
# use the above to send patches: MY_PATCH_LEVEL is always empty for a
# released version.
/* define if you have kpse_find_tfm */
#define HAVE_KPSE_FIND_TFM 0
+/* define if you have python2/Python.h header */
+#define HAVE_PYTHON2_PYTHON_H 0
+
+/* define if you have python/Python.h header */
+#define HAVE_PYTHON_PYTHON_H 0
+
+/* define if you have Python.h header */
+#define HAVE_PYTHON_H 0
+
/* define if explicit instantiation is needed */
#undef NEED_EXPLICIT_INSTANTIATION
AC_PATH_PROG(PERL, perl, error)
+AC_HAVE_HEADERS(python2/Python.h python/Python.h Python.h)
+
+
AC_STEPMAKE_END
test -n "$CONFIGURATION" && mc=" conf=$CONFIGURATION" || mc=""
# compile fucks up on without autoconf -I flag.
-STEPMAKE_TEMPLATES=c install # python-module
+STEPMAKE_TEMPLATES=c install python-module
INSTALLATION_FILES=$(outdir)/midi.so
INSTALLATION_DIR=$(datadir)/python
*/
-#include <python2.0/Python.h>
+#include "config.h"
+
+/* urg */
+#if HAVE_PYTHON2_PYTHON_H
+#include <python2/Python.h>
+#elif HAVE_PYTHON_PYTHON_H
+#define assert(x)
+#include <python/Python.h>
+#elif HAVE_PYTHON_H
+#define assert(x)
+#include <Python.h>
+#else
+#error Need Python.h
+#endif
#if 0
int x = 0;
sys.stderr.write ('diffing to %s... ' % patch_name)
os.system ('pwd')
- print ('diff -urN %s . >> %s' % (fromdir, patch_name))
- os.system ('diff -urN %s . >> %s' % (fromdir, patch_name))
+ print ('diff -purN %s . >> %s' % (fromdir, patch_name))
+ os.system ('diff -purN %s . >> %s' % (fromdir, patch_name))
os.system ('gzip --quiet -9f %s' % patch_name)