This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Probe for timegm
[metaconfig.git] / U / perl / d_timegm.U
CommitLineData
0b8d5c8a
MB
1?RCS: $Id$
2?RCS:
3?RCS: Copyright (c) 2008 H.Merijn Brand
4?RCS:
5?RCS: You may distribute under the terms of either the GNU General Public
6?RCS: License or the Artistic License, as specified in the README file.
7?RCS:
8?MAKE:d_timegm: Inlibc
9?MAKE: -pick add $@ %<
10?S:d_timegm:
11?S: This variable conditionally defines the HAS_TIMEGM symbol, which
12?S: indicates to the C program that the timegm () routine is available.
13?S:.
14?C:HAS_TIMEGM:
15?C: This symbol, if defined, indicates that the timegm routine is
16?C: available to do the opposite of gmtime ()
17?C:.
18?H:#$d_timegm HAS_TIMEGM /**/
19?H:.
20?LINT:set d_timegm
21: see if timegm exists
22set timegm d_timegm
23eval $inlibc
24