Change 34107 by [EMAIL PROTECTED] on 2008/07/07 20:39:20 Probe for timegm
Affected files ... ... //depot/perl/Configure#696 edit ... //depot/perl/Porting/Glossary#192 edit ... //depot/perl/config_h.SH#348 edit ... //depot/perl/handy.h#141 edit Differences ... ==== //depot/perl/Configure#696 (xtext) ==== Index: perl/Configure --- perl/Configure#695~34105~ 2008-07-07 13:03:00.000000000 -0700 +++ perl/Configure 2008-07-07 13:39:20.000000000 -0700 @@ -25,7 +25,7 @@ # $Id: Head.U 6 2006-08-25 22:21:46Z rmanfredi $ # -# Generated on Mon Jul 7 21:59:59 CEST 2008 [metaconfig 3.5 PL0] +# Generated on Mon Jul 7 22:34:20 CEST 2008 [metaconfig 3.5 PL0] # (with additional metaconfig patches by [EMAIL PROTECTED]) cat >c1$$ <<EOF @@ -777,6 +777,7 @@ d_telldirproto='' d_time='' timetype='' +d_timegm='' clocktype='' d_times='' d_tmpnam_r='' @@ -18105,6 +18106,10 @@ eval $setvar fi +: see if timegm exists +set timegm d_timegm +eval $inlibc + : see if this is a sys/times.h system set sys/times.h i_systimes eval $inhdr @@ -22306,6 +22311,7 @@ d_telldir='$d_telldir' d_telldirproto='$d_telldirproto' d_time='$d_time' +d_timegm='$d_timegm' d_times='$d_times' d_tm_tm_gmtoff='$d_tm_tm_gmtoff' d_tm_tm_zone='$d_tm_tm_zone' ==== //depot/perl/Porting/Glossary#192 (text) ==== Index: perl/Porting/Glossary --- perl/Porting/Glossary#191~34105~ 2008-07-07 13:03:00.000000000 -0700 +++ perl/Porting/Glossary 2008-07-07 13:39:20.000000000 -0700 @@ -2213,6 +2213,10 @@ that the time() routine exists. The time() routine is normaly provided on UNIX systems. +d_timegm (d_timegm.U): + This variable conditionally defines the HAS_TIMEGM symbol, which + indicates to the C program that the timegm () routine is available. + d_times (d_times.U): This variable conditionally defines the HAS_TIMES symbol, which indicates that the times() routine exists. The times() routine is normaly ==== //depot/perl/config_h.SH#348 (text) ==== Index: perl/config_h.SH --- perl/config_h.SH#347~34105~ 2008-07-07 13:03:00.000000000 -0700 +++ perl/config_h.SH 2008-07-07 13:39:20.000000000 -0700 @@ -3970,6 +3970,12 @@ */ #$d_telldirproto HAS_TELLDIR_PROTO /**/ +/* HAS_TIMEGM: + * This symbol, if defined, indicates that the timegm routine is + * available to do the opposite of gmtime () + */ +#$d_timegm HAS_TIMEGM /**/ + /* U32_ALIGNMENT_REQUIRED: * This symbol, if defined, indicates that you must access * character data through U32-aligned pointers. ==== //depot/perl/handy.h#141 (text) ==== Index: perl/handy.h --- perl/handy.h#140~34105~ 2008-07-07 13:03:00.000000000 -0700 +++ perl/handy.h 2008-07-07 13:39:20.000000000 -0700 @@ -177,7 +177,7 @@ #endif /* HMB H.Merijn Brand - a placeholder for preparing Configure patches */ -#if defined(LOCALTIME_R_NEEDS_TZSET) && defined(HAS_PSEUDOFORK) && defined(USE_DTRACE) && defined(GMTIME_MAX) && defined(GMTIME_MIN) +#if defined(LOCALTIME_R_NEEDS_TZSET) && defined(HAS_PSEUDOFORK) && defined(USE_DTRACE) && defined(GMTIME_MAX) && defined(GMTIME_MIN) && defined(HAS_TIMEGM) /* Not (yet) used at top level, but mention them for metaconfig */ #endif End of Patch.