diff options
-rwxr-xr-x | Configure | 6 | ||||
-rw-r--r-- | Cross/config.sh-arm-linux | 1 | ||||
-rw-r--r-- | NetWare/config.wc | 1 | ||||
-rw-r--r-- | Porting/config.sh | 1 | ||||
-rwxr-xr-x | config_h.SH | 5 | ||||
-rw-r--r-- | configure.com | 1 | ||||
-rw-r--r-- | metaconfig.h | 1 | ||||
-rw-r--r-- | plan9/config_sh.sample | 1 | ||||
-rw-r--r-- | symbian/config.sh | 1 | ||||
-rw-r--r-- | uconfig.h | 15 | ||||
-rw-r--r-- | uconfig.sh | 1 | ||||
-rw-r--r-- | uconfig64.sh | 1 | ||||
-rw-r--r-- | win32/config.ce | 1 | ||||
-rw-r--r-- | win32/config.gc | 1 | ||||
-rw-r--r-- | win32/config.vc | 1 |
15 files changed, 33 insertions, 5 deletions
@@ -681,6 +681,7 @@ d_nearbyint='' d_duplocale='' d_freelocale='' d_newlocale='' +d_querylocale='' d_uselocale='' i_xlocale='' d_nextafter='' @@ -14149,6 +14150,10 @@ eval $inlibc set duplocale d_duplocale eval $inlibc +: see if querylocale exists +set querylocale d_querylocale +eval $inlibc + : see if frexpl exists set frexpl d_frexpl eval $inlibc @@ -24518,6 +24523,7 @@ d_pwpasswd='$d_pwpasswd' d_pwquota='$d_pwquota' d_qgcvt='$d_qgcvt' d_quad='$d_quad' +d_querylocale='$d_querylocale' d_random_r='$d_random_r' d_re_comp='$d_re_comp' d_readdir64_r='$d_readdir64_r' diff --git a/Cross/config.sh-arm-linux b/Cross/config.sh-arm-linux index 463bf54744..af8b56d5b6 100644 --- a/Cross/config.sh-arm-linux +++ b/Cross/config.sh-arm-linux @@ -432,6 +432,7 @@ d_pwpasswd='define' d_pwquota='undef' d_qgcvt='define' d_quad='define' +d_querylocale='undef' d_random_r='undef' d_readdir64_r='undef' d_readdir='define' diff --git a/NetWare/config.wc b/NetWare/config.wc index a06d89cae0..65fd5165a9 100644 --- a/NetWare/config.wc +++ b/NetWare/config.wc @@ -421,6 +421,7 @@ d_pwpasswd='undef' d_pwquota='undef' d_qgcvt='undef' d_quad='undef' +d_querylocale='undef' d_random_r='undef' d_readdir64_r='undef' d_readdir='define' diff --git a/Porting/config.sh b/Porting/config.sh index 6ce6e8249b..d90997757b 100644 --- a/Porting/config.sh +++ b/Porting/config.sh @@ -442,6 +442,7 @@ d_pwpasswd='define' d_pwquota='undef' d_qgcvt='undef' d_quad='define' +d_querylocale='undef' d_random_r='undef' d_re_comp='undef' d_readdir64_r='undef' diff --git a/config_h.SH b/config_h.SH index 6e99d9923c..c21a634250 100755 --- a/config_h.SH +++ b/config_h.SH @@ -3246,9 +3246,14 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un * This symbol, if defined, indicates that the uselocale routine is * available to set the current locale for the calling thread. */ +/* HAS_QUERYLOCALE: + * This symbol, if defined, indicates that the querylocale routine is + * available to return the name of the locale for a category mask. + */ #$d_newlocale HAS_NEWLOCALE /**/ #$d_freelocale HAS_FREELOCALE /**/ #$d_uselocale HAS_USELOCALE /**/ +#$d_querylocale HAS_QUERYLOCALE /**/ /* HAS_NEXTAFTER: * This symbol, if defined, indicates that the nextafter routine is diff --git a/configure.com b/configure.com index ffcbc223b9..ccf8f81f2d 100644 --- a/configure.com +++ b/configure.com @@ -6893,6 +6893,7 @@ $ WC "d_lgamma_r='undef'" $ WC "d_localtime_r='undef'" ! leave undef'd; we use my_localtime $ WC "d_localtime_r_needs_tzset='undef'" $ WC "d_newlocale='undef'" +$ WC "d_querylocale='undef'" $ WC "d_random_r='undef'" $ WC "d_readdir_r='define'" ! always defined; we roll our own $ WC "d_readdir64_r='undef'" diff --git a/metaconfig.h b/metaconfig.h index 84580f59f0..d8ad0aae5c 100644 --- a/metaconfig.h +++ b/metaconfig.h @@ -31,6 +31,7 @@ * HAS_NEWLOCALE * HAS_PRCTL * HAS_PSEUDOFORK + * HAS_QUERYLOCALE * HAS_TIMEGM * HAS_USELOCALE * I16SIZE diff --git a/plan9/config_sh.sample b/plan9/config_sh.sample index 8e5cae3401..87f570c251 100644 --- a/plan9/config_sh.sample +++ b/plan9/config_sh.sample @@ -432,6 +432,7 @@ d_pwpasswd='undef' d_pwquota='undef' d_qgcvt='undef' d_quad='define' +d_querylocale='undef' d_random_r='undef' d_readdir64_r='undef' d_readdir='define' diff --git a/symbian/config.sh b/symbian/config.sh index 48cb7a5c84..c21b1853b2 100644 --- a/symbian/config.sh +++ b/symbian/config.sh @@ -378,6 +378,7 @@ d_pwpasswd='undef' d_pwquota='undef' d_qgcvt='undef' d_quad='undef' +d_querylocale='undef' d_random_r='undef' d_readdir64_r='undef' d_readdir='define' @@ -182,7 +182,7 @@ /*#define HAS_GETLOGIN / **/ /* HAS_GETPGID: - * This symbol, if defined, indicates to the C program that + * This symbol, if defined, indicates to the C program that * the getpgid(pid) function is available to get the * process group id. */ @@ -641,8 +641,8 @@ * This symbol holds the type used for the second argument to * getgroups() and setgroups(). Usually, this is the same as * gidtype (gid_t) , but sometimes it isn't. - * It can be int, ushort, gid_t, etc... - * It may be necessary to include <sys/types.h> to get any + * It can be int, ushort, gid_t, etc... + * It may be necessary to include <sys/types.h> to get any * typedef'ed information. This is only required if you have * getgroups() or setgroups().. */ @@ -3211,9 +3211,14 @@ * This symbol, if defined, indicates that the uselocale routine is * available to set the current locale for the calling thread. */ +/* HAS_QUERYLOCALE: + * This symbol, if defined, indicates that the querylocale routine is + * available to return the name of the locale for a category mask. + */ /*#define HAS_NEWLOCALE / **/ /*#define HAS_FREELOCALE / **/ /*#define HAS_USELOCALE / **/ +/*#define HAS_QUERYLOCALE / **/ /* HAS_NEXTAFTER: * This symbol, if defined, indicates that the nextafter routine is @@ -5241,6 +5246,6 @@ #endif /* Generated from: - * ce61c4f18e82f6356cdae44c5336ceac1d3253033d7449651927f5633be5c3c2 config_h.SH - * f28cf0c2509cffce1f29866cccd109cee84c941fc63685f0795d25380d47382d uconfig.sh + * ad669f127235e5deedd1f98bea3dbe5c0b7c3b18ebbe8f0d91f3496f18af832c config_h.SH + * fb9ab8a0e51b906cd21cc8e6fc3a50303358996b27814b31f94850c4777e65d7 uconfig.sh * ex: set ro: */ diff --git a/uconfig.sh b/uconfig.sh index f5c230c1a0..ccdb97606f 100644 --- a/uconfig.sh +++ b/uconfig.sh @@ -371,6 +371,7 @@ d_pwpasswd='undef' d_pwquota='undef' d_qgcvt='undef' d_quad='undef' +d_querylocale='undef' d_random_r='undef' d_readdir64_r='undef' d_readdir='define' diff --git a/uconfig64.sh b/uconfig64.sh index c545858de9..9ecc6e3536 100644 --- a/uconfig64.sh +++ b/uconfig64.sh @@ -372,6 +372,7 @@ d_pwpasswd='undef' d_pwquota='undef' d_qgcvt='undef' d_quad='define' +d_querylocale='undef' d_random_r='undef' d_readdir64_r='undef' d_readdir='define' diff --git a/win32/config.ce b/win32/config.ce index a5ee73774a..9061035449 100644 --- a/win32/config.ce +++ b/win32/config.ce @@ -419,6 +419,7 @@ d_pwpasswd='undef' d_pwquota='undef' d_qgcvt='undef' d_quad='undef' +d_querylocale='undef' d_random_r='undef' d_readdir64_r='undef' d_readdir='define' diff --git a/win32/config.gc b/win32/config.gc index e9cf4ed4eb..08f0742d74 100644 --- a/win32/config.gc +++ b/win32/config.gc @@ -420,6 +420,7 @@ d_pwpasswd='undef' d_pwquota='undef' d_qgcvt='undef' d_quad='define' +d_querylocale='undef' d_random_r='undef' d_readdir64_r='undef' d_readdir='define' diff --git a/win32/config.vc b/win32/config.vc index 2fc37b0c6e..00f8d84510 100644 --- a/win32/config.vc +++ b/win32/config.vc @@ -420,6 +420,7 @@ d_pwpasswd='undef' d_pwquota='undef' d_qgcvt='undef' d_quad='define' +d_querylocale='undef' d_random_r='undef' d_readdir64_r='undef' d_readdir='define' |