In metaconfig.git, the branch master has been updated <http://perl5.git.perl.org/metaconfig.git/commitdiff/fbd668ef1fb86d4aa6e0174d7e68ea618e7adc35?hp=c626efde2a9cdea8b96ac3bf424715e88ebd5faf>
- Log ----------------------------------------------------------------- commit fbd668ef1fb86d4aa6e0174d7e68ea618e7adc35 Author: Andy Dougherty <[email protected]> Date: Sun Jan 3 17:49:34 2016 -0500 Add unit to detect fdclose(), introduced in FreeBSD. ----------------------------------------------------------------------- Summary of changes: U/perl/d_fdclose.U | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 U/perl/d_fdclose.U diff --git a/U/perl/d_fdclose.U b/U/perl/d_fdclose.U new file mode 100644 index 0000000..aef7856 --- /dev/null +++ b/U/perl/d_fdclose.U @@ -0,0 +1,21 @@ +?RCS: You may distribute under the terms of either the GNU General Public +?RCS: License or the Artistic License, as specified in the README file. +?RCS: +?MAKE:d_fdclose: Inlibc +?MAKE: -pick add $@ %< +?S:d_fdclose: +?S: This variable conditionally defines the HAS_FDCLOSE symbol, which +?S: indicates to the C program that the fdclose() routine is available. +?S:. +?C:HAS_FDCLOSE: +?C: This symbol, if defined, indicates that the fdclose routine is +?C: available to free a FILE structure without closing the underlying +?C: file descriptor. This function appeared in FreeBSD 10.2. +?C:. +?H:#$d_fdclose HAS_FDCLOSE /**/ +?H:. +?LINT:set d_fdclose +: see if fdclose exists +set fdclose d_fdclose +eval $inlibc + -- perl5 metaconfig repository
