This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Metaconfig unit changes for #11003.
authorJarkko Hietaniemi <jhi@iki.fi>
Thu, 28 Jun 2001 14:12:50 +0000 (14:12 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Thu, 28 Jun 2001 14:12:50 +0000 (14:12 +0000)
p4raw-id: //depot/metaconfig@11004

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

diff --git a/U/perl/d_nl_langinfo.U b/U/perl/d_nl_langinfo.U
new file mode 100644 (file)
index 0000000..79a53a9
--- /dev/null
@@ -0,0 +1,26 @@
+?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_nl_langinfo: Inlibc i_langinfo
+?MAKE: -pick add $@ %<
+?S:d_nl_langinfo:
+?S:    This variable conditionally defines the HAS_NL_LANGINFO symbol, which
+?S:    indicates to the C program that the nl_langinfo() routine is available.
+?S:.
+?C:HAS_NL_LANGINFO:
+?C:    This symbol, if defined, indicates that the nl_langinfo routine is
+?C:    available to return local data.  You will also need <langinfo.h>
+?C:    and therefore I_LANGINFO.
+?C:.
+?H:#$d_nl_langinfo HAS_NL_LANGINFO             /**/
+?H:.
+?LINT:set d_nl_langinfo
+?LINT:use i_langinfo
+: see if nl_langinfo exists
+set nl_langinfo d_nl_langinfo
+eval $inlibc
+
diff --git a/U/perl/i_langinfo.U b/U/perl/i_langinfo.U
new file mode 100644 (file)
index 0000000..a85bb97
--- /dev/null
@@ -0,0 +1,24 @@
+?RCS: $Id: i_poll.U,v $
+?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:i_langinfo: Inhdr Hasfield
+?MAKE: -pick add $@ %<
+?S:i_langinfo:
+?S:    This variable conditionally defines the I_LANGINFO symbol,
+?S:    and indicates whether a C program should include <langinfo.h>.
+?S:.
+?C:I_LANGINFO:
+?C:    This symbol, if defined, indicates that <langinfo.h> exists and
+?C:    should be included.
+?C:.
+?H:#$i_langinfo        I_LANGINFO              /**/
+?H:.
+?LINT:set i_langinfo
+: see if this is a langinfo.h system
+set langinfo.h i_langinfo
+eval $inhdr
+