diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-06-28 14:12:27 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-06-28 14:12:27 +0000 |
commit | 2765b840fca882ed4632588ab696d917cbd8f128 (patch) | |
tree | 9b2a4b5ccf01cbb4c35fdd1508766e6371e8ca6f /config_h.SH | |
parent | 21c7e20cb06994bee68ab7053ced688d59fb6908 (diff) | |
download | perl-2765b840fca882ed4632588ab696d917cbd8f128.tar.gz |
Add Configure probes for nl_langinfo() and <langinfo.h>.
Expected not to exist in non-UNIX excepting in VMS, where
according to a quick web survey they just might.
p4raw-id: //depot/perl@11003
Diffstat (limited to 'config_h.SH')
-rw-r--r-- | config_h.SH | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/config_h.SH b/config_h.SH index 06325c0fac..2cf8168599 100644 --- a/config_h.SH +++ b/config_h.SH @@ -3398,6 +3398,13 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_flockproto HAS_FLOCK_PROTO /**/ +/* HAS_NL_LANGINFO: + * This symbol, if defined, indicates that the nl_langinfo routine is + * available to return local data. You will also need <langinfo.h> + * and therefore I_LANGINFO. + */ +#$d_nl_langinfo HAS_NL_LANGINFO /**/ + /* HAS_SIGPROCMASK: * This symbol, if defined, indicates that the sigprocmask * system call is available to examine or change the signal mask @@ -3464,5 +3471,11 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_usleepproto HAS_USLEEP_PROTO /**/ +/* I_LANGINFO: + * This symbol, if defined, indicates that <langinfo.h> exists and + * should be included. + */ +#$i_langinfo I_LANGINFO /**/ + #endif !GROK!THIS! |