[Python-checkins] python/dist/src configure,1.355,1.356 configure.in,1.366,1.367 pyconfig.h.in,1.58,1.59

loewis@users.sourceforge.net loewis@users.sourceforge.net
Mon, 11 Nov 2002 05:37:31 -0800


Update of /cvsroot/python/python/dist/src
In directory usw-pr-cvs1:/tmp/cvs-serv16683

Modified Files:
	configure configure.in pyconfig.h.in 
Log Message:
Protect pyconfig.h from multiple inclusions.


Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.355
retrieving revision 1.356
diff -C2 -d -r1.355 -r1.356
*** configure	11 Nov 2002 13:26:51 -0000	1.355
--- configure	11 Nov 2002 13:37:26 -0000	1.356
***************
*** 1,4 ****
  #! /bin/sh
! # From configure.in Revision: 1.365 .
  # Guess values for system-dependent variables and create Makefiles.
  # Generated by GNU Autoconf 2.53 for python 2.3.
--- 1,4 ----
  #! /bin/sh
! # From configure.in Revision: 1.366 .
  # Guess values for system-dependent variables and create Makefiles.
  # Generated by GNU Autoconf 2.53 for python 2.3.
***************
*** 1234,1237 ****
--- 1234,1239 ----
  # This is for stuff that absolutely must end up in pyconfig.h.
  # Please use pyport.h instead, if possible.
+ 
+ 
  
  

Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.366
retrieving revision 1.367
diff -C2 -d -r1.366 -r1.367
*** configure.in	11 Nov 2002 13:26:51 -0000	1.366
--- configure.in	11 Nov 2002 13:37:28 -0000	1.367
***************
*** 12,15 ****
--- 12,19 ----
  # This is for stuff that absolutely must end up in pyconfig.h.
  # Please use pyport.h instead, if possible.
+ AH_TOP([
+ #ifndef Py_PYCONFIG_H
+ #define Py_PYCONFIG_H
+ ])
  AH_BOTTOM([
  /* Define the macros needed if on a UnixWare 7.x system. */
***************
*** 17,20 ****
--- 21,26 ----
  #define STRICT_SYSV_CURSES /* Don't use ncurses extensions */
  #endif
+ 
+ #endif /*Py_PYCONFIG_H*/
  ])
  

Index: pyconfig.h.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/pyconfig.h.in,v
retrieving revision 1.58
retrieving revision 1.59
diff -C2 -d -r1.58 -r1.59
*** pyconfig.h.in	11 Nov 2002 13:26:51 -0000	1.58
--- pyconfig.h.in	11 Nov 2002 13:37:28 -0000	1.59
***************
*** 1,4 ****
--- 1,9 ----
  /* pyconfig.h.in.  Generated from configure.in by autoheader.  */
  
+ 
+ #ifndef Py_PYCONFIG_H
+ #define Py_PYCONFIG_H
+ 
+ 
  /* Define for AIX if your compiler is a genuine IBM xlC/xlC_r and you want
     support for AIX C++ shared extension modules. */
***************
*** 852,854 ****
--- 857,861 ----
  #define STRICT_SYSV_CURSES /* Don't use ncurses extensions */
  #endif
+ 
+ #endif /*Py_PYCONFIG_H*/