mirror_zfs/config
Richard Yao e0093fea58 Linux 3.4 compat, __clear_close_on_exec replaces FD_CLR
torvalds/linux@1dce27c5aa introduced
__clear_close_on_exec() as a replacement for FD_CLR. Further commits
appear to have removed FD_CLR from the Linux source tree.  This
causes the following failure:

  error: implicit declaration of function '__FD_CLR'
  [-Werror=implicit-function-declaration]

To correct this we update the code to use the current
__clear_close_on_exec() interface for readability.  Then we introduce
an autotools check to determine if __clear_close_on_exec() is available.
If it isn't then we define some compatibility logic which used the older
FD_CLR() interface.

Signed-off-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #124
2012-06-13 16:18:51 -07:00
..
arch.am Add make rule for building Arch Linux packages 2011-12-14 16:44:10 -08:00
config.awk Allow spl_config.h to be included by dependant packages (updated) 2010-03-22 14:45:33 -07:00
config.guess Move vendor check to spl-build.m4 2010-09-02 16:12:02 -07:00
config.sub Move vendor check to spl-build.m4 2010-09-02 16:12:02 -07:00
deb.am Avoid 'rpm -q' bug for 'make pkg' 2011-06-16 11:49:38 -07:00
depcomp Move vendor check to spl-build.m4 2010-09-02 16:12:02 -07:00
install-sh Move vendor check to spl-build.m4 2010-09-02 16:12:02 -07:00
ltmain.sh Refresh autogen.sh products 2010-11-30 10:36:58 -08:00
missing Move vendor check to spl-build.m4 2010-09-02 16:12:02 -07:00
rpm.am Cleanly support debug packages 2012-02-27 14:24:22 -08:00
Rules.am Support custom build directories 2010-09-05 21:49:05 -07:00
spl-build.m4 Linux 3.4 compat, __clear_close_on_exec replaces FD_CLR 2012-06-13 16:18:51 -07:00
spl-meta.m4 Public Release Prep 2010-05-17 15:18:00 -07:00
tgz.am Avoid 'rpm -q' bug for 'make pkg' 2011-06-16 11:49:38 -07:00