X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Ffcntl-safer.m4;h=c8cf480c5ff8f9f4440564c1ff9f7c77704b495c;hb=80a029602f5b2707ca8d2487843ecb9e0df74a6a;hp=be210f9a02b843509e7fe85f022e6015613d7a84;hpb=9f7ac092eb4ffe2525472c43f44c7cc94f2a3be5;p=gnulib.git diff --git a/m4/fcntl-safer.m4 b/m4/fcntl-safer.m4 index be210f9a0..c8cf480c5 100644 --- a/m4/fcntl-safer.m4 +++ b/m4/fcntl-safer.m4 @@ -1,12 +1,16 @@ -#serial 2 -dnl Copyright (C) 2005 Free Software Foundation, Inc. +#serial 9 +dnl Copyright (C) 2005-2007, 2009-2012 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_FCNTL_SAFER], [ - AC_LIBSOURCES([creat-safer.c, fcntl-safer.h, open-safer.c, fcntl--.h]) - AC_LIBOBJ([open-safer]) - AC_LIBOBJ([creat-safer]) + dnl Prerequisites of lib/open-safer.c. + AC_REQUIRE([gl_PROMOTED_TYPE_MODE_T]) +]) + +AC_DEFUN([gl_OPENAT_SAFER], +[ + AC_REQUIRE([gl_FCNTL_SAFER]) ])