Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2009-11-25
21:34 • Closed ticket [2892871fff]: Autoconferry from the Autoconf Fairy plus 7 othe... artifact: a23bb1e968 user: stwo
2009-11-06
04:41 • Ticket [2892871fff]: 3 changes artifact: 63d8974480 user: stwo
04:40 • Ticket [2892871fff]: 4 changes artifact: beacb5f5e2 user: stwo
04:40 • Add attachment ac_cleanup1_tk.patch to ticket [2892871fffffffff|2892871... artifact: a240bad774 user: stwo
04:38 • Ticket [2892871fff] Autoconferry from the Autoconf Fairy status still Open w... artifact: d1284fbc9f user: stwo
04:38 • Add attachment ac_cleanup1_tcl.patch to ticket [2892871fffffffff|289287... artifact: 00409374a6 user: stwo
2009-11-05
21:38 • New ticket [2892871fff] Autoconferry from the Autoconf Fairy. artifact: 44efa71618 user: stwo

Autoconferry from the Autoconf Fairy

Closed / Accepted2892871fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 17 years ago
Descriptionplain2009-11-05 21:38:32
1) In tcl.m4 the autoconf macro AC_STRUCT_TIMEZONE is used but its resultant defines HAVE_STRUCT_TM_TM_ZONE, HAVE_TM_ZONE and possibly HAVE_TZNAME are not referenced anywhere in Tcl or in Tk. I recommend it be removed since a) it's not being used, and b) it creates up to two unused defines which clutter the tclConfig.h file and the compile command line needlessly.
2) The autoconf macro AC_STRUCT_ST_BLKSIZE is obsoleted and creates two defines: HAVE_STRUCT_STAT_ST_BLKSIZE and the obsoleted HAVE_ST_BLKSIZE, cluttering the tclConfig.h file and the compile command line needlessly. I (and the autoconf docs) recommend it be changed to AC_CHECK_MEMBERS([struct stat.st_blksize]) which creates the single define HAVE_STRUCT_STAT_ST_BLKSIZE and to modify all code which checks for HAVE_ST_BLKSIZE to check for HAVE_STRUCT_STAT_ST_BLKSIZE instead.
Patches are against HEAD of Nov 4/5.
stwoplain2009-11-06 04:38:35
File Added - 349695: ac_cleanup1_tcl.patch
stwoplain2009-11-06 04:40:34
File Added - 349696: ac_cleanup1_tk.patch
stwo Ticket [2892871fff]: 3 changes [History diff]2009-11-06 04:41:25
stwoplain2009-11-25 21:34:23
allow_comments - 1
Log in (anonymous is fine) to add a comment.

Attachments: