Code

Extra files from coreutils required for getloadavg.c to compile
[nagiosplug.git] / m4 / fcntl-safer.m4
diff --git a/m4/fcntl-safer.m4 b/m4/fcntl-safer.m4
new file mode 100644 (file)
index 0000000..be210f9
--- /dev/null
@@ -0,0 +1,12 @@
+#serial 2
+dnl Copyright (C) 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_FCNTL_SAFER],
+[
+  AC_LIBSOURCES([creat-safer.c, fcntl-safer.h, open-safer.c, fcntl--.h])
+  AC_LIBOBJ([open-safer])
+  AC_LIBOBJ([creat-safer])
+])