summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorAaron Crane <arc@cpan.org>2016-06-02 19:11:12 +0100
committerAaron Crane <arc@cpan.org>2016-06-02 19:55:59 +0100
commitef55c6737a667b6853720247c181a0cbfbbe6116 (patch)
tree1b23c5a40202058b2d00e6ddd50742d33c0da49d /Configure
parentbc900e45a4498affce40e6fdd0282f3715c0b5be (diff)
downloadperl-ef55c6737a667b6853720247c181a0cbfbbe6116.tar.gz
Add Configure probe for strerror_l()
As requested by khw++ Until the relevant symbol is used, HAS_STRERROR_L must be mentioned explicitly in metaconfig.h. This corresponds to metaconfig d0838744f03cfe7642950ea91dd48f575d0bfd15.
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/Configure b/Configure
index a067a8996c..2b2cd07f54 100755
--- a/Configure
+++ b/Configure
@@ -862,6 +862,7 @@ d_strerrm=''
d_strerror=''
d_sysernlst=''
d_syserrlst=''
+d_strerror_l=''
d_strerror_r=''
strerror_r_proto=''
d_strftime=''
@@ -19280,6 +19281,10 @@ if test "X$d_strerror" = X -o "X$d_syserrlst" = X; then
fi
fi
+: see if strerror_l exists
+set strerror_l d_strerror_l
+eval $inlibc
+
: see if strerror_r exists
set strerror_r d_strerror_r
eval $inlibc
@@ -24643,6 +24648,7 @@ d_strcoll='$d_strcoll'
d_strctcpy='$d_strctcpy'
d_strerrm='$d_strerrm'
d_strerror='$d_strerror'
+d_strerror_l='$d_strerror_l'
d_strerror_r='$d_strerror_r'
d_strftime='$d_strftime'
d_strlcat='$d_strlcat'