summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorAndy Dougherty <doughera@lafayette.edu>2015-12-29 22:58:51 -0500
committerAndy Dougherty <doughera@lafayette.edu>2016-01-04 11:10:34 -0500
commit8b8c6ab7a0f348f87b1d3cb71ad386b19d348719 (patch)
tree6e3d11ab2dea4903acb825d7366eadec7951c117 /Configure
parent36b1c8929241ab83b3003de806e94e66990e4c6d (diff)
downloadperl-8b8c6ab7a0f348f87b1d3cb71ad386b19d348719.tar.gz
Add Configure support for fdclose() for [perl #126847].
This patch also adjusts the generated files suggested by Porting/checkcfgvar.pl.
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/Configure b/Configure
index cfbdaa1080..d5a7de31cf 100755
--- a/Configure
+++ b/Configure
@@ -475,6 +475,7 @@ d_fcntl_can_lock=''
d_fd_macros=''
d_fd_set=''
d_fds_bits=''
+d_fdclose=''
d_fdim=''
d_fegetround=''
d_fgetpos=''
@@ -13991,6 +13992,10 @@ EOM
fi
$rm_try
+: see if fdclose exists
+set fdclose d_fdclose
+eval $inlibc
+
: see if fdim exists
set fdim d_fdim
eval $inlibc
@@ -24213,6 +24218,7 @@ d_fcntl='$d_fcntl'
d_fcntl_can_lock='$d_fcntl_can_lock'
d_fd_macros='$d_fd_macros'
d_fd_set='$d_fd_set'
+d_fdclose='$d_fdclose'
d_fdim='$d_fdim'
d_fds_bits='$d_fds_bits'
d_fegetround='$d_fegetround'