From 25b0e0e8ab4276d8051fb621912d47cb39fd7d21 Mon Sep 17 00:00:00 2001 From: Keith Winstein Date: Mon, 16 Apr 2012 00:28:48 -0400 Subject: [PATCH] Make new pipe2() test work properly when pipe2() undefined (e.g. on OS X). --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index be6daf2..98f9b2b 100644 --- a/configure.ac +++ b/configure.ac @@ -244,7 +244,7 @@ if test -z "$poll_LIBS"; then fi AC_MSG_CHECKING([whether pipe2(..., O_CLOEXEC) is supported]) -AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#define _GNU_SOURCE +AC_LINK_IFELSE([AC_LANG_PROGRAM([[#define _GNU_SOURCE #include #include int pipefd[2];