[Python-checkins] python/dist/src configure,1.305,1.306 configure.in,1.315,1.316 pyconfig.h.in,1.33,1.34

jlt63@sourceforge.net jlt63@sourceforge.net
Wed, 15 May 2002 04:51:35 -0700


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

Modified Files:
	configure configure.in pyconfig.h.in 
Log Message:
Patch #555929: Cygwin AH_BOTTOM cleanup patch

This patch complies with the following request found
near the top of configure.in:

# This is for stuff that absolutely must end up in pyconfig.h.
# Please use pyport.h instead, if possible.

I tested this patch under Cygwin, Win32, and Red
Hat Linux. Python built and ran successfully on
each of these platforms.


Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.305
retrieving revision 1.306
diff -C2 -d -r1.305 -r1.306
*** configure	8 May 2002 08:51:28 -0000	1.305
--- configure	15 May 2002 11:51:32 -0000	1.306
***************
*** 1,4 ****
  #! /bin/sh
! # From configure.in Revision: 1.314 .
  # Guess values for system-dependent variables and create Makefiles.
  # Generated by GNU Autoconf 2.53.
--- 1,4 ----
  #! /bin/sh
! # From configure.in Revision: 1.315 .
  # Guess values for system-dependent variables and create Makefiles.
  # Generated by GNU Autoconf 2.53.

Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.315
retrieving revision 1.316
diff -C2 -d -r1.315 -r1.316
*** configure.in	8 May 2002 08:51:29 -0000	1.315
--- configure.in	15 May 2002 11:51:33 -0000	1.316
***************
*** 8,21 ****
  # Please use pyport.h instead, if possible.
  AH_BOTTOM([
- #ifdef __CYGWIN__
- #ifdef USE_DL_IMPORT
- #define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE
- #define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
- #else
- #define DL_IMPORT(RTYPE) __declspec(dllexport) RTYPE
- #define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
- #endif
- #endif
- 
  /* Define the macros needed if on a UnixWare 7.x system. */
  #if defined(__USLC__) && defined(__SCO_VERSION__)
--- 8,11 ----

Index: pyconfig.h.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/pyconfig.h.in,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -d -r1.33 -r1.34
*** pyconfig.h.in	20 Apr 2002 13:46:43 -0000	1.33
--- pyconfig.h.in	15 May 2002 11:51:33 -0000	1.34
***************
*** 826,839 ****
  
  
- #ifdef __CYGWIN__
- #ifdef USE_DL_IMPORT
- #define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE
- #define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
- #else
- #define DL_IMPORT(RTYPE) __declspec(dllexport) RTYPE
- #define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
- #endif
- #endif
- 
  /* Define the macros needed if on a UnixWare 7.x system. */
  #if defined(__USLC__) && defined(__SCO_VERSION__)
--- 826,829 ----