summaryrefslogtreecommitdiff
path: root/configure.com
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2021-06-24 14:49:55 +1000
committerTony Cook <tony@develop-help.com>2021-08-11 14:40:22 +1000
commit68f1b6d700b9662cfdec43ceddbd086d4b59c87e (patch)
tree63621a829b468f50b903296b5259e9ebfa80ce02 /configure.com
parent7e12ee61fac08d210b4f192160a1de75771f27c9 (diff)
downloadperl-68f1b6d700b9662cfdec43ceddbd086d4b59c87e.tar.gz
only #include <xlocale.h> when it is actually needed
This header was originally only needed for builds on darwin and FreeBSD, but was being included whenever it was detected. This has caused problems when what was an internal header was removed (from glibc) and in general wasn't needed anyway. On FreeBSD only localeconv_l() requires xlocale.h, so we test specifically for that.
Diffstat (limited to 'configure.com')
-rw-r--r--configure.com1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.com b/configure.com
index 2704cb2459..126a372e5b 100644
--- a/configure.com
+++ b/configure.com
@@ -6790,6 +6790,7 @@ $ WC "i_vfork='undef'"
$ WC "i_wchar='define'"
$ WC "i_wctype='define'"
$ WC "i_xlocale='undef'"
+$ WC "xlocale_needed='undef'"
$ WC "inc_version_list='0'"
$ WC "inc_version_list_init='0'"
$ WC "installarchlib='" + installarchlib + "'"