diff options
-rwxr-xr-x | Configure | 18 | ||||
-rw-r--r-- | Cross/config.sh-arm-linux | 3 | ||||
-rw-r--r-- | NetWare/config.wc | 3 | ||||
-rw-r--r-- | Porting/Glossary | 15 | ||||
-rw-r--r-- | Porting/config.sh | 3 | ||||
-rwxr-xr-x | config_h.SH | 17 | ||||
-rw-r--r-- | metaconfig.h | 3 | ||||
-rw-r--r-- | plan9/config_sh.sample | 3 | ||||
-rw-r--r-- | symbian/config.sh | 3 | ||||
-rw-r--r-- | uconfig.sh | 3 | ||||
-rw-r--r-- | uconfig64.sh | 3 | ||||
-rw-r--r-- | win32/config.ce | 3 | ||||
-rw-r--r-- | win32/config.gc | 3 | ||||
-rw-r--r-- | win32/config.vc | 3 |
14 files changed, 83 insertions, 0 deletions
@@ -678,6 +678,9 @@ d_msync='' d_munmap='' d_nan='' d_nearbyint='' +d_freelocale='' +d_newlocale='' +d_uselocale='' d_nextafter='' d_nexttoward='' d_nice='' @@ -16618,6 +16621,18 @@ eval $inlibc set nearbyint d_nearbyint eval $inlibc +: see if newlocale exists +set newlocale d_newlocale +eval $inlibc + +: see if freelocale exists +set freelocale d_freelocale +eval $inlibc + +: see if uselocale exists +set uselocale d_uselocale +eval $inlibc + : see if nextafter exists set nextafter d_nextafter eval $inlibc @@ -24338,6 +24353,7 @@ d_fpclassify='$d_fpclassify' d_fpclassl='$d_fpclassl' d_fpgetround='$d_fpgetround' d_fpos64_t='$d_fpos64_t' +d_freelocale='$d_freelocale' d_frexpl='$d_frexpl' d_fs_data_s='$d_fs_data_s' d_fseeko='$d_fseeko' @@ -24510,6 +24526,7 @@ d_nan='$d_nan' d_ndbm='$d_ndbm' d_ndbm_h_uses_prototypes='$d_ndbm_h_uses_prototypes' d_nearbyint='$d_nearbyint' +d_newlocale='$d_newlocale' d_nextafter='$d_nextafter' d_nexttoward='$d_nexttoward' d_nice='$d_nice' @@ -24709,6 +24726,7 @@ d_uname='$d_uname' d_union_semun='$d_union_semun' d_unordered='$d_unordered' d_unsetenv='$d_unsetenv' +d_uselocale='$d_uselocale' d_usleep='$d_usleep' d_usleepproto='$d_usleepproto' d_ustat='$d_ustat' diff --git a/Cross/config.sh-arm-linux b/Cross/config.sh-arm-linux index f1034f39dc..1a4718b8cb 100644 --- a/Cross/config.sh-arm-linux +++ b/Cross/config.sh-arm-linux @@ -222,6 +222,7 @@ d_fpclassify='undef' d_fpclassl='undef' d_fpgetround='undef' d_fpos64_t='undef' +d_freelocale='undef' d_frexpl='define' d_fs_data_s='undef' d_fseeko='define' @@ -392,6 +393,7 @@ d_mymalloc='undef' d_nan='undef' d_ndbm_h_uses_prototypes='undef' d_nearbyint='undef' +d_newlocale='undef' d_nextafter='undef' d_nexttoward='undef' d_nice='define' @@ -589,6 +591,7 @@ d_uname='define' d_union_semun='undef' d_unordered='undef' d_unsetenv='define' +d_uselocale='undef' d_usleep='define' d_usleepproto='define' d_ustat='define' diff --git a/NetWare/config.wc b/NetWare/config.wc index cc34a801cb..bf8dc11e0e 100644 --- a/NetWare/config.wc +++ b/NetWare/config.wc @@ -210,6 +210,7 @@ d_fpclassify='undef' d_fpclassl='undef' d_fpgetround='undef' d_fpos64_t='undef' +d_freelocale='undef' d_frexpl='undef' d_fs_data_s='undef' d_fseeko='undef' @@ -381,6 +382,7 @@ d_mymalloc='undef' d_nan='undef' d_ndbm_h_uses_prototypes='undef' d_nearbyint='undef' +d_newlocale='undef' d_nextafter='undef' d_nexttoward='undef' d_nice='undef' @@ -579,6 +581,7 @@ d_uname='define' d_union_semun='define' d_unordered='undef' d_unsetenv='undef' +d_uselocale='undef' d_usleep='undef' d_usleepproto='undef' d_ustat='undef' diff --git a/Porting/Glossary b/Porting/Glossary index 40e9b406f5..4ff252f8ac 100644 --- a/Porting/Glossary +++ b/Porting/Glossary @@ -928,6 +928,11 @@ d_fpgetround (d_fpgetround.U): d_fpos64_t (d_fpos64_t.U): This symbol will be defined if the C compiler supports fpos64_t. +d_freelocale (d_newlocale.U): + This variable conditionally defines the HAS_FREELOCALE symbol, which + indicates to the C program that the freelocale() routine is available + to deallocates the resources associated with a locale object. + d_frexpl (d_frexpl.U): This variable conditionally defines the HAS_FREXPL symbol, which indicates to the C program that the frexpl() routine is available. @@ -1733,6 +1738,11 @@ d_nearbyint (d_nearbyint.U): is available to return the integral value closest to (according to the current rounding mode) to x. +d_newlocale (d_newlocale.U): + This variable conditionally defines the HAS_NEWLOCALE symbol, which + indicates to the C program that the newlocale() routine is available + to return a new locale object or modify an existing locale object. + d_nextafter (d_nextafter.U): This variable conditionally defines HAS_NEXTAFTER if nextafter() is available to return the next machine representable double from @@ -2665,6 +2675,11 @@ d_unsetenv (d_unsetenv.U): This variable conditionally defines the HAS_UNSETENV symbol, which indicates to the C program that the unsetenv () routine is available. +d_uselocale (d_newlocale.U): + This variable conditionally defines the HAS_USELOCALE symbol, which + indicates to the C program that the uselocale() routine is available + to set the current locale for the calling thread. + d_usleep (d_usleep.U): This variable conditionally defines HAS_USLEEP if usleep() is available to do high granularity sleeps. diff --git a/Porting/config.sh b/Porting/config.sh index c0d4b31b13..b123dc3032 100644 --- a/Porting/config.sh +++ b/Porting/config.sh @@ -231,6 +231,7 @@ d_fpclassify='undef' d_fpclassl='undef' d_fpgetround='undef' d_fpos64_t='undef' +d_freelocale='undef' d_frexpl='define' d_fs_data_s='undef' d_fseeko='define' @@ -403,6 +404,7 @@ d_nan='undef' d_ndbm='define' d_ndbm_h_uses_prototypes='define' d_nearbyint='undef' +d_newlocale='undef' d_nextafter='undef' d_nexttoward='undef' d_nice='define' @@ -600,6 +602,7 @@ d_uname='define' d_union_semun='undef' d_unordered='undef' d_unsetenv='define' +d_uselocale='undef' d_usleep='define' d_usleepproto='define' d_ustat='define' diff --git a/config_h.SH b/config_h.SH index 9dd2c095a0..532238e26f 100755 --- a/config_h.SH +++ b/config_h.SH @@ -4150,6 +4150,23 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_nearbyint HAS_NEARBYINT /**/ +/* HAS_NEWLOCALE: + * This symbol, if defined, indicates that the newlocale routine is + * available to return a new locale object or modify an existing + * locale object. + */ +/* HAS_FREELOCALE: + * This symbol, if defined, indicates that the freelocale routine is + * available to deallocates the resources associated with a locale object. + */ +/* HAS_USELOCALE: + * This symbol, if defined, indicates that the uselocale routine is + * available to set the current locale for the calling thread. + */ +#$d_newlocale HAS_NEWLOCALE /**/ +#$d_freelocale HAS_FREELOCALE /**/ +#$d_uselocale HAS_USELOCALE /**/ + /* HAS_NEXTAFTER: * This symbol, if defined, indicates that the nextafter routine is * available to return the next machine representable double from diff --git a/metaconfig.h b/metaconfig.h index fef2e4ba94..f2151a5c26 100644 --- a/metaconfig.h +++ b/metaconfig.h @@ -19,6 +19,7 @@ * HAS_DLADDR * HAS_FEGETROUND * HAS_FPCLASSIFY + * HAS_FREELOCALE * HAS_GMTIME64 * HAS_ISFINITEL * HAS_ISINFL @@ -26,9 +27,11 @@ * HAS_J0 * HAS_LOCALTIME64 * HAS_MKTIME64 + * HAS_NEWLOCALE * HAS_PRCTL * HAS_PSEUDOFORK * HAS_TIMEGM + * HAS_USELOCALE * I16SIZE * I64SIZE * I8SIZE diff --git a/plan9/config_sh.sample b/plan9/config_sh.sample index e7a1f78c9b..a0b0bf3c7d 100644 --- a/plan9/config_sh.sample +++ b/plan9/config_sh.sample @@ -222,6 +222,7 @@ d_fpclassify='undef' d_fpclassl='undef' d_fpgetround='undef' d_fpos64_t='undef' +d_freelocale='undef' d_frexpl='undef' d_fs_data_s='undef' d_fseeko='undef' @@ -392,6 +393,7 @@ d_mymalloc='define' d_nan='undef' d_ndbm_h_uses_prototypes='undef' d_nearbyint='undef' +d_newlocale='undef' d_nextafter='undef' d_nexttoward='undef' d_nice='undef' @@ -589,6 +591,7 @@ d_uname='define' d_union_semun='undef' d_unordered='undef' d_unsetenv='undef' +d_uselocale='undef' d_usleep='undef' d_usleepproto='undef' d_ustat='undef' diff --git a/symbian/config.sh b/symbian/config.sh index 64935b9928..603ef443ac 100644 --- a/symbian/config.sh +++ b/symbian/config.sh @@ -166,6 +166,7 @@ d_fpclassify='undef' d_fpclassl='undef' d_fpgetround='undef' d_fpos64_t='undef' +d_freelocale='undef' d_frexpl='undef' d_fs_data_s='undef' d_fseeko='undef' @@ -338,6 +339,7 @@ d_mymalloc='undef' d_nan='undef' d_ndbm_h_uses_prototypes='undef' d_nearbyint='undef' +d_newlocale='undef' d_nextafter='undef' d_nexttoward='undef' d_nice='undef' @@ -537,6 +539,7 @@ d_uname='undef' d_union_semun='undef' d_unordered='undef' d_unsetenv='undef' +d_uselocale='undef' d_usleep='define' d_usleepproto='undef' d_ustat='undef' diff --git a/uconfig.sh b/uconfig.sh index beecfe7aaf..12bbfd1d65 100644 --- a/uconfig.sh +++ b/uconfig.sh @@ -160,6 +160,7 @@ d_fpclassify='undef' d_fpclassl='undef' d_fpgetround='undef' d_fpos64_t='undef' +d_freelocale='undef' d_frexpl='undef' d_fs_data_s='undef' d_fseeko='undef' @@ -331,6 +332,7 @@ d_mymalloc='undef' d_nan='undef' d_ndbm_h_uses_prototypes='undef' d_nearbyint='undef' +d_newlocale='undef' d_nextafter='undef' d_nexttoward='undef' d_nice='undef' @@ -528,6 +530,7 @@ d_uname='undef' d_union_semun='undef' d_unordered='undef' d_unsetenv='undef' +d_uselocale='undef' d_usleep='undef' d_usleepproto='undef' d_ustat='undef' diff --git a/uconfig64.sh b/uconfig64.sh index 3e58288ac5..4b8c3ac9d6 100644 --- a/uconfig64.sh +++ b/uconfig64.sh @@ -161,6 +161,7 @@ d_fpclassify='undef' d_fpclassl='undef' d_fpgetround='undef' d_fpos64_t='undef' +d_freelocale='undef' d_frexpl='undef' d_fs_data_s='undef' d_fseeko='undef' @@ -332,6 +333,7 @@ d_mymalloc='undef' d_nan='undef' d_ndbm_h_uses_prototypes='undef' d_nearbyint='undef' +d_newlocale='undef' d_nextafter='undef' d_nexttoward='undef' d_nice='undef' @@ -529,6 +531,7 @@ d_uname='undef' d_union_semun='undef' d_unordered='undef' d_unsetenv='undef' +d_uselocale='undef' d_usleep='undef' d_usleepproto='undef' d_ustat='undef' diff --git a/win32/config.ce b/win32/config.ce index e18506fd9e..7e6fe40367 100644 --- a/win32/config.ce +++ b/win32/config.ce @@ -208,6 +208,7 @@ d_fpclassify='undef' d_fpclassl='undef' d_fpgetround='undef' d_fpos64_t='undef' +d_freelocale='undef' d_frexpl='undef' d_fs_data_s='undef' d_fseeko='undef' @@ -379,6 +380,7 @@ d_mymalloc='~PERL_MALLOC~' d_nan='undef' d_ndbm_h_uses_prototypes='undef' d_nearbyint='undef' +d_newlocale='undef' d_nextafter='undef' d_nexttoward='undef' d_nice='undef' @@ -577,6 +579,7 @@ d_uname='define' d_union_semun='define' d_unordered='undef' d_unsetenv='undef' +d_uselocale='undef' d_usleep='undef' d_usleepproto='undef' d_ustat='undef' diff --git a/win32/config.gc b/win32/config.gc index 390be9b4a5..e8179cc4a6 100644 --- a/win32/config.gc +++ b/win32/config.gc @@ -209,6 +209,7 @@ d_fpclassify='undef' d_fpclassl='undef' d_fpgetround='undef' d_fpos64_t='undef' +d_freelocale='undef' d_frexpl='undef' d_fs_data_s='undef' d_fseeko='undef' @@ -380,6 +381,7 @@ d_nan='undef' d_ndbm='undef' d_ndbm_h_uses_prototypes='undef' d_nearbyint='undef' +d_newlocale='undef' d_nextafter='undef' d_nexttoward='undef' d_nice='undef' @@ -577,6 +579,7 @@ d_uname='define' d_union_semun='define' d_unordered='undef' d_unsetenv='undef' +d_uselocale='undef' d_usleep='undef' d_usleepproto='undef' d_ustat='undef' diff --git a/win32/config.vc b/win32/config.vc index aa79d2bbef..4972db8f1f 100644 --- a/win32/config.vc +++ b/win32/config.vc @@ -209,6 +209,7 @@ d_fpclassify='undef' d_fpclassl='undef' d_fpgetround='undef' d_fpos64_t='undef' +d_freelocale='undef' d_frexpl='undef' d_fs_data_s='undef' d_fseeko='undef' @@ -380,6 +381,7 @@ d_nan='undef' d_ndbm='undef' d_ndbm_h_uses_prototypes='undef' d_nearbyint='undef' +d_newlocale='undef' d_nextafter='undef' d_nexttoward='undef' d_nice='undef' @@ -577,6 +579,7 @@ d_uname='define' d_union_semun='define' d_unordered='undef' d_unsetenv='undef' +d_uselocale='undef' d_usleep='undef' d_usleepproto='undef' d_ustat='undef' |