* configure, config.in: Rebuild.

* configure.ac (HAVE_LIBPYTHON2_7): New define.
	* python/python-internal.h: Handle HAVE_LIBPYTHON2_7.
This commit is contained in:
Tom Tromey 2010-07-06 19:03:12 +00:00
parent a6cc4789c3
commit 11763c1856
5 changed files with 20 additions and 2 deletions

View file

@ -50,6 +50,9 @@ typedef int Py_ssize_t;
#elif HAVE_LIBPYTHON2_6
#include "python2.6/Python.h"
#include "python2.6/frameobject.h"
#elif HAVE_LIBPYTHON2_7
#include "python2.7/Python.h"
#include "python2.7/frameobject.h"
#else
#error "Unable to find usable Python.h"
#endif