From: H.Merijn Brand Date: Mon, 7 Jul 2008 20:32:35 +0000 (+0000) Subject: Probe for timegm X-Git-Tag: 5.26.1~293 X-Git-Url: https://perl5.git.perl.org/metaconfig.git/commitdiff_plain/0b8d5c8ad8d8b0191b55b5fe63c6cecb73f0dcbe?ds=sidebyside Probe for timegm p4raw-id: //depot/metaconfig@34106 --- diff --git a/U/perl/d_timegm.U b/U/perl/d_timegm.U new file mode 100644 index 0000000..32be326 --- /dev/null +++ b/U/perl/d_timegm.U @@ -0,0 +1,24 @@ +?RCS: $Id$ +?RCS: +?RCS: Copyright (c) 2008 H.Merijn Brand +?RCS: +?RCS: You may distribute under the terms of either the GNU General Public +?RCS: License or the Artistic License, as specified in the README file. +?RCS: +?MAKE:d_timegm: Inlibc +?MAKE: -pick add $@ %< +?S:d_timegm: +?S: This variable conditionally defines the HAS_TIMEGM symbol, which +?S: indicates to the C program that the timegm () routine is available. +?S:. +?C:HAS_TIMEGM: +?C: This symbol, if defined, indicates that the timegm routine is +?C: available to do the opposite of gmtime () +?C:. +?H:#$d_timegm HAS_TIMEGM /**/ +?H:. +?LINT:set d_timegm +: see if timegm exists +set timegm d_timegm +eval $inlibc +