configure.ac: Check that we can use O_CLOEXEC with pipe2().

Needed for EL5.

Based on:
https://github.com/rurban/mosh/commit/c70c3707e65b42ac9b9da937e9c255211330805e
This commit is contained in:
Keegan McAllister
2012-04-13 21:29:49 -04:00
committed by Keith Winstein
parent 99e8626a01
commit 85d197346a
2 changed files with 12 additions and 7 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
#include "config.h"
#ifdef HAVE_PIPE2
#ifdef HAVE_PIPE2_CLOEXEC
#define HASPIPE2
#else
#undef HASPIPE2