# HG changeset patch # User Eric Blake # Date 1153974951 0 # Node ID 8a261680f8cabb0083c9ec77ac7a527007e01a8f # Parent 9c66c4fabeafffa0c23698fc8f6c15e10499664e * unistd-safer.m4 (gl_UNISTD_SAFER): Check for missing pipe. diff --git a/m4/ChangeLog b/m4/ChangeLog --- 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 --- 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])