Branch: refs/heads/smoke-me/tonyc/18936-xlocale-as-needed
Home: https://github.com/Perl/perl5
Commit: fcaf0ac32a1ca4800f968a6054759e2abac843ae
https://github.com/Perl/perl5/commit/fcaf0ac32a1ca4800f968a6054759e2abac843ae
Author: Tony Cook <[email protected]>
Date: 2021-06-29 (Tue, 29 Jun 2021)
Changed paths:
M Configure
M Cross/config.sh-arm-linux
M Cross/config.sh-arm-linux-n770
M NetWare/config.wc
M Porting/config.sh
M config_h.SH
M configure.com
M perl.h
M plan9/config_sh.sample
M uconfig.h
M uconfig.sh
M uconfig64.sh
M win32/config.gc
M win32/config.vc
Log Message:
-----------
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.