changeset 7053:8a261680f8ca

* unistd-safer.m4 (gl_UNISTD_SAFER): Check for missing pipe.
author Eric Blake <ebb9@byu.net>
date Thu, 27 Jul 2006 04:35:51 +0000
parents 9c66c4fabeaf
children 45e54b67167a
files m4/ChangeLog m4/unistd-safer.m4
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/m4/ChangeLog
+++ b/m4/ChangeLog
@@ -1,3 +1,7 @@
+2006-07-26  Eric Blake  <ebb9@byu.net>
+
+	* unistd-safer.m4 (gl_UNISTD_SAFER): Check for missing pipe.
+
 2006-07-26  Bruno Haible  <bruno@clisp.org>
 
 	* stdint.m4 (gl_STDINT_H): Also verify the existence of the macros
--- a/m4/unistd-safer.m4
+++ b/m4/unistd-safer.m4
@@ -1,11 +1,12 @@
-#serial 7
-dnl Copyright (C) 2002, 2005 Free Software Foundation, Inc.
+#serial 8
+dnl Copyright (C) 2002, 2005, 2006 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_UNISTD_SAFER],
 [
+  AC_CHECK_FUNCS_ONCE([pipe])
   AC_LIBSOURCES([dup-safer.c, fd-safer.c, pipe-safer.c, unistd-safer.h, unistd--.h])
   AC_LIBOBJ([dup-safer])
   AC_LIBOBJ([fd-safer])