[Patches] [ python-Patches-623780 ] configure.in obsolete macro replacement

noreply@sourceforge.net noreply@sourceforge.net
Wed, 16 Oct 2002 05:26:11 -0700


Patches item #623780, was opened at 2002-10-15 23:45
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=623780&group_id=5470

Category: Build
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Art Haas (ahaas)
Assigned to: Martin v. Löwis (loewis)
Summary: configure.in obsolete macro replacement

Initial Comment:
Hi.

Here's a patch that replaces the obsolete
AC_STRUCT_ST_RDEV and AC_STRUCT_ST_BLKSIZE macros with
their new counterparts from AC_CHECK_MEMBERS. In
replacing these two macros, the pyconfig.h.in file had
the deprecated definitions for these two macros removed
as well as the deprecated form for the
AC_STRUCT_ST_BLOCKS macro, and the associated changes
to posixmodule.c to test for the new preprocessor
definitions were added. While fiddling with
pyconfig.h.in, I also removed the deprecated form for
time zone macros, and made a change to the timemodule.c
file so it will use the new preprocessor token. I've
rebuilt my python with these changes and it looks alright.

The line numbers for the configure.in patch may be a
little off as I've modified it slightly by changing the
AC_INIT macro - there is a patch submitted for that
change as well.

Art Haas 

----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2002-10-16 14:26

Message:
Logged In: YES 
user_id=21627

Can you please point to the documentation that declares
those macros as obsolete? I could only find that AC_ST_RDEV
is obsolete, and replaced by AC_STRUCT_ST_RDEV.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=623780&group_id=5470