summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2018-03-08 10:59:53 -0700
committerKarl Williamson <khw@cpan.org>2018-03-12 10:17:14 -0600
commit6201c2203671c3e78f25fa02205bd962d5bd92b1 (patch)
tree02357dbfcbe38f5d7542e8651af0727a1fc05b22 /Configure
parent4e6826bf86819426cea8be0677b2a3282834ced5 (diff)
downloadperl-6201c2203671c3e78f25fa02205bd962d5bd92b1.tar.gz
Actually make I18N::Langinfo avail on all platforms
I thought I had done this earlier, but testing on Windows demonstrated that I hadn't. While at it, move the details in the docs for Perl_langinfo to the module's pod. This doesn't follow the paradigm for putting the Configure stuff in all the related configure files, but I saw no point to doing so. If you are reading this because I was wrong, feel free to ticket it or fix it.
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure8
1 files changed, 6 insertions, 2 deletions
diff --git a/Configure b/Configure
index 135ba4e8b8..e7c61871d6 100755
--- a/Configure
+++ b/Configure
@@ -229,6 +229,7 @@ extensions=''
known_extensions=''
nonxs_ext=''
static_ext=''
+usei18n_lang=''
useopcode=''
useposix=''
extras=''
@@ -1464,6 +1465,8 @@ ignore_versioned_solibs=''
ccname=''
ccversion=''
perllibs=''
+: set usei18n_lang=false in your hint file to disable the I18N_Langinfo extension.
+usei18n_lang=true
: set useposix=false in your hint file to disable the POSIX extension.
useposix=true
: set useopcode=false in your hint file to disable the Opcode extension.
@@ -23273,8 +23276,8 @@ for xxx in $xs_extensions ; do
esac
;;
I18N/Langinfo|i18n_lan)
- case "$i_langinfo$d_nl_langinfo" in
- $define$define) avail_ext="$avail_ext $xxx" ;;
+ case "$usei18n_lang" in
+ true|define|y) avail_ext="$avail_ext $xxx" ;;
esac
;;
IPC/SysV|ipc/sysv)
@@ -24820,6 +24823,7 @@ usedevel='$usedevel'
usedl='$usedl'
usedtrace='$usedtrace'
usefaststdio='$usefaststdio'
+usei18n_lang='$i18n_lang'
useithreads='$useithreads'
usekernprocpathname='$usekernprocpathname'
uselargefiles='$uselargefiles'