[Patches] changes to configure.in and PC/config.h for 64-bit systems

Trent Mick trentm@activestate.com
Fri, 2 Jun 2000 00:15:53 -0700


On Thu, Jun 01, 2000 at 01:14:12PM -0700, Trent Mick wrote:
> Discussion:
> 
> This patch extends PC/config.h and configure.in as appropriate for 64-bit
> readiness (the config values are needed for patches that I will be submitting
> later today. The changes are as follows:
> 

Oops, in the previous patch for PC/config.h and configure.in I forgot to
submit changes to acconfig.h as well. This provides the changes to acconfig.h
to #define SIZEOF_TIME_T and SIZEOF_FPOS_T in config.h. The changes to the
regenerated 'config.h.in' (via autoheader) are included as well.

If you would rather, I can submit the whole patch (for all the config system
files) together.

NOTE: About the HAVE_SYS_SOCKET_H addition in config.h.in: I presume that is
coming from a newer version of autoheader or a different environment for it
on my machine.


Legal:

I confirm that, to the best of my knowledge and belief, this
contribution is free of any claims of third parties under
copyright, patent or other rights or interests ("claims").  To
the extent that I have any such claims, I hereby grant to CNRI a
nonexclusive, irrevocable, royalty-free, worldwide license to
reproduce, distribute, perform and/or display publicly, prepare
derivative versions, and otherwise use this contribution as part
of the Python software and its related documentation, or any
derivative versions thereof, at no cost to CNRI or its licensed
users, and to authorize others to do so.

I acknowledge that CNRI may, at its sole discretion, decide
whether or not to incorporate this contribution in the Python
software and its related documentation.  I further grant CNRI
permission to use my name and other identifying information
provided to CNRI by me for use in connection with the Python
software and its related documentation.



Patch (use 'patch -p8'):

*** /home/trentm/main/contrib/python/dist/src/acconfig.h	Thu Jun  1 00:13:41 2000
--- /home/trentm/main/Apps/Perlium/Python/dist/src/acconfig.h	Wed May 31 23:54:21 2000
***************
*** 151,156 ****
--- 151,159 ----
  /* The number of bytes in an off_t. */
  #undef SIZEOF_OFF_T
  
+ /* The number of bytes in a time_t. */
+ #undef SIZEOF_TIME_T
+ 
  /* Defined to enable large file support when an off_t is bigger than a long
     and long long is available and at least as big as an off_t. You may need
     to add some flags for configuration and compilation to enable this mode.
*** /home/trentm/main/contrib/python/dist/src/config.h.in	Thu Jun  1 00:13:41 2000
--- /home/trentm/main/Apps/Perlium/Python/dist/src/config.h.in	Thu Jun  1 23:42:08 2000
***************
*** 213,218 ****
--- 213,221 ----
  /* The number of bytes in an off_t. */
  #undef SIZEOF_OFF_T
  
+ /* The number of bytes in a time_t. */
+ #undef SIZEOF_TIME_T
+ 
  /* Defined to enable large file support when an off_t is bigger than a long
     and long long is available and at least as big as an off_t. You may need
     to add some flags for configuration and compilation to enable this mode.
***************
*** 234,239 ****
--- 237,245 ----
  /* The number of bytes in a float.  */
  #undef SIZEOF_FLOAT
  
+ /* The number of bytes in a fpos_t.  */
+ #undef SIZEOF_FPOS_T
+ 
  /* The number of bytes in a int.  */
  #undef SIZEOF_INT
  
***************
*** 527,532 ****
--- 533,541 ----
  
  /* Define if you have the <sys/select.h> header file.  */
  #undef HAVE_SYS_SELECT_H
+ 
+ /* Define if you have the <sys/socket.h> header file.  */
+ #undef HAVE_SYS_SOCKET_H
  
  /* Define if you have the <sys/time.h> header file.  */
  #undef HAVE_SYS_TIME_H



-- 
Trent Mick
trentm@activestate.com