X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Funistd-safer.m4;h=6fbe4c6fb09ad9d0786b0a339533e43f7440d016;hb=523067dbfb281d3cc27f65007a3893bd694c257d;hp=282e6579ecaee8890099d6f75c8d64c7901cc944;hpb=44d7c1c1f004fa9bfb8ec3948de2671a7958cf5b;p=gnulib.git diff --git a/m4/unistd-safer.m4 b/m4/unistd-safer.m4 index 282e6579e..6fbe4c6fb 100644 --- a/m4/unistd-safer.m4 +++ b/m4/unistd-safer.m4 @@ -1,15 +1,13 @@ -# unistd-safer.m4 serial 2 -dnl Copyright (C) 2002 Free Software Foundation, Inc. +#serial 7 +dnl Copyright (C) 2002, 2005 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], [ - gl_PREREQ_DUP_SAFER -]) - -# Prerequisites of lib/dup-safer.c. -AC_DEFUN([gl_PREREQ_DUP_SAFER], [ - AC_CHECK_HEADERS_ONCE(fcntl.h unistd.h) + AC_LIBSOURCES([dup-safer.c, fd-safer.c, pipe-safer.c, unistd-safer.h, unistd--.h]) + AC_LIBOBJ([dup-safer]) + AC_LIBOBJ([fd-safer]) + AC_LIBOBJ([pipe-safer]) ])