[Python-checkins] CVS: python/dist/src/Include Python.h,2.28,2.29

Guido van Rossum python-dev@python.org
Mon, 18 Sep 2000 17:46:48 -0700


Update of /cvsroot/python/python/dist/src/Include
In directory slayer.i.sourceforge.net:/tmp/cvs-serv9822/Include

Modified Files:
	Python.h 
Log Message:
Make better use of GNU Pth -- patch by Andy Dustman.
I can't test this, so I'm just checking it in with blind faith in Andy.
I've tested that it doesn't broeak a non-Pth build on Linux.

Changes include:

- There's a --with-pth configure option.

- Instead of _GNU_PTH, we test for HAVE_PTH.

- Better signal handling.

- (The config.h.in file is regenerated in a slightly different order.)



Index: Python.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/Python.h,v
retrieving revision 2.28
retrieving revision 2.29
diff -C2 -r2.28 -r2.29
*** Python.h	2000/09/10 01:02:41	2.28
--- Python.h	2000/09/19 00:46:46	2.29
***************
*** 112,116 ****
  #define Py_eval_input 258
  
! #ifdef _GNU_PTH
  /* GNU pth user-space thread support */
  #include <pth.h>
--- 112,116 ----
  #define Py_eval_input 258
  
! #ifdef HAVE_PTH
  /* GNU pth user-space thread support */
  #include <pth.h>