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];