X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Ffcntl-safer.m4;h=1a739b093264a6161d2dc441b66a3c7e11fa16fe;hb=8d8bbae775e3c77070161dafc81c0c2dbba0fef4;hp=e2080dfa5df3c3187e133bc4823c9acbe97e6ce6;hpb=2514e7d5af226b15be3f737286b3ff8c0c91d761;p=gnulib.git diff --git a/m4/fcntl-safer.m4 b/m4/fcntl-safer.m4 index e2080dfa5..1a739b093 100644 --- a/m4/fcntl-safer.m4 +++ b/m4/fcntl-safer.m4 @@ -1,5 +1,5 @@ -#serial 6 -dnl Copyright (C) 2005-2007, 2009 Free Software Foundation, Inc. +#serial 7 +dnl Copyright (C) 2005-2007, 2009-2010 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. @@ -11,3 +11,9 @@ AC_DEFUN([gl_FCNTL_SAFER], # Prerequisites of lib/open-safer.c. AC_REQUIRE([gl_PROMOTED_TYPE_MODE_T]) ]) + +AC_DEFUN([gl_OPENAT_SAFER], +[ + AC_REQUIRE([gl_FCNTL_SAFER]) + AC_LIBOBJ([openat-safer]) +])