diff options
author | Andy Wingo <wingo@pobox.com> | 2013-03-09 19:08:51 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2013-03-09 19:08:51 +0100 |
commit | 1adba49ab20ac283ca62963f115910f1cf7b63ad (patch) | |
tree | fd535f2f761dce90fde8e7baafcea1aca1314ed7 /m4/pipe.m4 | |
parent | 09b204d38756f0fa9ab4319874c8ce2838488dd0 (diff) | |
download | guile-1adba49ab20ac283ca62963f115910f1cf7b63ad.tar.gz |
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.
Diffstat (limited to 'm4/pipe.m4')
-rw-r--r-- | m4/pipe.m4 | 15 |
1 files changed, 15 insertions, 0 deletions
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 +]) |