From 1adba49ab20ac283ca62963f115910f1cf7b63ad Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Sat, 9 Mar 2013 19:08:51 +0100 Subject: Import `pipe-posix' module from gnulib. * lib/Makefile.am: * lib/pipe.c: * m4/gnulib-cache.m4: * m4/gnulib-comp.m4: * m4/pipe.m4: Add pipe-posix module. --- m4/pipe.m4 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 m4/pipe.m4 (limited to 'm4/pipe.m4') diff --git a/m4/pipe.m4 b/m4/pipe.m4 new file mode 100644 index 000000000..583128332 --- /dev/null +++ b/m4/pipe.m4 @@ -0,0 +1,15 @@ +# pipe.m4 serial 2 +dnl Copyright (C) 2010-2013 Free Software Foundation, Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. + +AC_DEFUN([gl_FUNC_PIPE], +[ + AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) + + AC_CHECK_FUNCS_ONCE([pipe]) + if test $ac_cv_func_pipe != yes; then + HAVE_PIPE=0 + fi +]) -- cgit v1.2.1