diff options
author | Karl Williamson <khw@cpan.org> | 2019-02-16 22:12:41 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2019-03-04 13:01:37 -0700 |
commit | 2e3ef32f4acc106de6ae8170099f09a36d4ef490 (patch) | |
tree | 1182ba2bcee9a62e52f350e618dcdf86680da670 /config_h.SH | |
parent | 0806cdda2789ca6394976d1ff3e65dd59bcb8d1b (diff) | |
download | perl-2e3ef32f4acc106de6ae8170099f09a36d4ef490.tar.gz |
Improve setlocale() detection in Configure-ish files
This also now notes some behavior of setlocale
Diffstat (limited to 'config_h.SH')
-rwxr-xr-x | config_h.SH | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/config_h.SH b/config_h.SH index 316c3718c2..f26ed2f3bb 100755 --- a/config_h.SH +++ b/config_h.SH @@ -439,12 +439,6 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_setlinebuf HAS_SETLINEBUF /**/ -/* HAS_SETLOCALE: - * This symbol, if defined, indicates that the setlocale routine is - * available to handle locale-specific ctype implementations. - */ -#$d_setlocale HAS_SETLOCALE /**/ - /* HAS_SETPGID: * This symbol, if defined, indicates that the setpgid(pid, gpid) * routine is available to set process group ID. @@ -3266,6 +3260,17 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_setitimer HAS_SETITIMER /**/ +/* HAS_SETLOCALE: + * This symbol, if defined, indicates that the setlocale routine is + * available to handle locale-specific ctype implementations. + */ +/* SETLOCALE_ACCEPTS_ANY_LOCALE_NAME: + * This symbol, if defined, indicates that the setlocale routine is + * available and it accepts any input locale name as valid. + */ +#$d_setlocale HAS_SETLOCALE /**/ +#$d_setlocale_accepts_any_locale_name SETLOCALE_ACCEPTS_ANY_LOCALE_NAME /**/ + /* HAS_SETPROCTITLE: * This symbol, if defined, indicates that the setproctitle routine is * available to set process title. |