1 ?RCS: You may redistribute only under the terms of the Artistic License,
2 ?RCS: as specified in the README file that comes with the distribution.
3 ?RCS: You may reuse parts of this distribution only within the terms of
4 ?RCS: that same Artistic License; a copy of which may be found at the root
5 ?RCS: of the source tree for dist 3.0.
7 ?MAKE:d_lc_monetary_2008: cat Compile rm_try d_locconv
10 ?S: This variable conditionally defines HAS_LC_MONETARY_2008 if libc
11 ?S: has the international currency locale rules from POSIX
14 ?C:HAS_LC_MONETARY_2008:
15 ?C: This symbol, if defined, indicates that the localeconv routine is
16 ?C: available and has the additional members added in POSIX 1003.1-2008.
18 ?H:#$d_lc_monetary_2008 HAS_LC_MONETARY_2008 /**/
20 : see if libc has the POSIX.1-2008 currency locale rules
21 case "$d_locconv:$d_lc_monetary_2008" in
26 struct lconv *lc = localeconv();
27 char int_p_cs_precedes = lc->int_p_cs_precedes;
32 if eval $compile; then
33 d_lc_monetary_2008="$define"
35 d_lc_monetary_2008="$undef"