This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
fix .gitignore: only ignore 'perl' in root of repo, not U/perl subdir
[metaconfig.git] / U / perl / d_newlocale.U
CommitLineData
c86fccdc
MBT
1?RCS: You may distribute under the terms of either the GNU General Public
2?RCS: License or the Artistic License, as specified in the README file.
3?RCS:
4fcdd9b4 4?MAKE:d_newlocale d_freelocale d_uselocale d_duplocale d_querylocale i_xlocale: Inlibc Inhdr
c86fccdc
MBT
5?MAKE: -pick add $@ %<
6?S:d_newlocale:
7?S: This variable conditionally defines the HAS_NEWLOCALE symbol, which
8?S: indicates to the C program that the newlocale() routine is available
9?S: to return a new locale object or modify an existing locale object.
10?S:.
11?S:d_freelocale:
12?S: This variable conditionally defines the HAS_FREELOCALE symbol, which
13?S: indicates to the C program that the freelocale() routine is available
14?S: to deallocates the resources associated with a locale object.
15?S:.
16?S:d_uselocale:
17?S: This variable conditionally defines the HAS_USELOCALE symbol, which
18?S: indicates to the C program that the uselocale() routine is available
19?S: to set the current locale for the calling thread.
20?S:.
1c32a18a
AC
21?S:d_duplocale:
22?S: This variable conditionally defines the HAS_DUPLOCALE symbol, which
23?S: indicates to the C program that the duplocale() routine is available
24?S: to duplicate a locale object.
25?S:.
4fcdd9b4
AC
26?S:d_querylocale:
27?S: This variable conditionally defines the HAS_QUERYLOCALE symbol, which
28?S: indicates to the C program that the querylocale() routine is available
29?S: to return the name of the locale for a category mask.
30?S:.
1c32a18a
AC
31?S:i_xlocale:
32?S: This symbol, if defined, indicates to the C program that it should
33?S: include <xlocale.h> to get uselocale() and its friends
34?S:.
c86fccdc
MBT
35?C:HAS_NEWLOCALE:
36?C: This symbol, if defined, indicates that the newlocale routine is
37?C: available to return a new locale object or modify an existing
38?C: locale object.
39?C:.
40?C:HAS_FREELOCALE:
41?C: This symbol, if defined, indicates that the freelocale routine is
42?C: available to deallocates the resources associated with a locale object.
43?C:.
44?C:HAS_USELOCALE:
45?C: This symbol, if defined, indicates that the uselocale routine is
46?C: available to set the current locale for the calling thread.
47?C:.
1c32a18a
AC
48?C:HAS_DUPLOCALE:
49?C: This symbol, if defined, indicates that the duplocale routine is
50?C: available to duplicate a locale object.
51?C:.
4fcdd9b4
AC
52?C:HAS_QUERYLOCALE:
53?C: This symbol, if defined, indicates that the querylocale routine is
54?C: available to return the name of the locale for a category mask.
55?C:.
1c32a18a
AC
56?C:I_XLOCALE:
57?C: This symbol, if defined, indicates to the C program that it should
58?C: include <xlocale.h> to get uselocale() and its friends.
59?C:.
c86fccdc
MBT
60?H:#$d_newlocale HAS_NEWLOCALE /**/
61?H:#$d_freelocale HAS_FREELOCALE /**/
62?H:#$d_uselocale HAS_USELOCALE /**/
1c32a18a 63?H:#$d_duplocale HAS_DUPLOCALE /**/
4fcdd9b4 64?H:#$d_querylocale HAS_QUERYLOCALE /**/
1c32a18a 65?H:#$i_xlocale I_XLOCALE /**/
c86fccdc 66?H:.
1c32a18a 67?LINT:set i_xlocale
c86fccdc
MBT
68?LINT:set d_newlocale
69?LINT:set d_freelocale
70?LINT:set d_uselocale
1c32a18a 71?LINT:set d_duplocale
4fcdd9b4 72?LINT:set d_querylocale
1c32a18a
AC
73: see if this is an xlocale.h system
74set xlocale.h i_xlocale
75eval $inhdr
76
c86fccdc
MBT
77: see if newlocale exists
78set newlocale d_newlocale
79eval $inlibc
80
81: see if freelocale exists
82set freelocale d_freelocale
83eval $inlibc
84
85: see if uselocale exists
86set uselocale d_uselocale
87eval $inlibc
88
1c32a18a
AC
89: see if duplocale exists
90set duplocale d_duplocale
91eval $inlibc
92
4fcdd9b4
AC
93: see if querylocale exists
94set querylocale d_querylocale
95eval $inlibc
96