This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
The new metaconfig unit from strftime.
authorJarkko Hietaniemi <jhi@iki.fi>
Thu, 19 Apr 2001 00:55:35 +0000 (00:55 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Thu, 19 Apr 2001 00:55:35 +0000 (00:55 +0000)
p4raw-id: //depot/metaconfig@9747

U/perl/d_strftime.U [new file with mode: 0644]

diff --git a/U/perl/d_strftime.U b/U/perl/d_strftime.U
new file mode 100644 (file)
index 0000000..89671a0
--- /dev/null
@@ -0,0 +1,24 @@
+?RCS: $Id$
+?RCS:
+?RCS: Copyright (c) 2001 Jarkko Hietaniemi
+?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_strftime: Inlibc
+?MAKE: -pick add $@ %<
+?S:d_strftime:
+?S:    This variable conditionally defines the HAS_STRFTIME symbol, which
+?S:    indicates to the C program that the strftime() routine is available.
+?S:.
+?C:HAS_STRFTIME:
+?C:    This symbol, if defined, indicates that the strftime routine is
+?C:    available to do time formatting.
+?C:.
+?H:#$d_strftime HAS_STRFTIME           /**/
+?H:.
+?LINT:set d_strftime
+: see if strftime exists
+set strftime d_strftime
+eval $inlibc
+