Code

Sync with the latest Gnulib code (177f525)
[nagiosplug.git] / gl / m4 / fcntl-safer.m4
1 #serial 7
2 dnl Copyright (C) 2005-2007, 2009-2010 Free Software Foundation, Inc.
3 dnl This file is free software; the Free Software Foundation
4 dnl gives unlimited permission to copy and/or distribute it,
5 dnl with or without modifications, as long as this notice is preserved.
7 AC_DEFUN([gl_FCNTL_SAFER],
8 [
9   AC_LIBOBJ([open-safer])
10   AC_LIBOBJ([creat-safer])
11   # Prerequisites of lib/open-safer.c.
12   AC_REQUIRE([gl_PROMOTED_TYPE_MODE_T])
13 ])
15 AC_DEFUN([gl_OPENAT_SAFER],
16 [
17   AC_REQUIRE([gl_FCNTL_SAFER])
18   AC_LIBOBJ([openat-safer])
19 ])