From 33fa864119281479da3a48ba312d5ca42aeb6f50 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Thu, 27 Jul 2006 04:35:51 +0000 Subject: [PATCH] * unistd-safer.m4 (gl_UNISTD_SAFER): Check for missing pipe. --- m4/ChangeLog | 4 ++++ m4/unistd-safer.m4 | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/m4/ChangeLog b/m4/ChangeLog index d17ac35ba7..89bc9f480c 100644 --- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,7 @@ +2006-07-26 Eric Blake + + * unistd-safer.m4 (gl_UNISTD_SAFER): Check for missing pipe. + 2006-07-26 Bruno Haible * stdint.m4 (gl_STDINT_H): Also verify the existence of the macros diff --git a/m4/unistd-safer.m4 b/m4/unistd-safer.m4 index 6fbe4c6fb0..30526405d0 100644 --- 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]) -- 2.30.2