aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorGravatar Ton Voon <tonvoon@users.sourceforge.net> 2006-07-11 12:38:09 +0000
committerGravatar Ton Voon <tonvoon@users.sourceforge.net> 2006-07-11 12:38:09 +0000
commitdf23fd75267c830f85a74cfde3020981c37e82a5 (patch)
treed7db53794b2765c29eb4710c7e40fda2a06b11a2 /m4
parent6267f1036777d505bd6a1e8c2a5d9f76690f9db0 (diff)
downloadmonitoring-plugins-df23fd75267c830f85a74cfde3020981c37e82a5.tar.gz
Extra files from coreutils required for getloadavg.c to compile
on Tru64 (Ciro Iriarte - 1520331) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1446 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'm4')
-rw-r--r--m4/fcntl-safer.m412
-rw-r--r--m4/np_coreutils.m42
-rw-r--r--m4/unistd-safer.m413
3 files changed, 27 insertions, 0 deletions
diff --git a/m4/fcntl-safer.m4 b/m4/fcntl-safer.m4
new file mode 100644
index 00000000..be210f9a
--- /dev/null
+++ b/m4/fcntl-safer.m4
@@ -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])
+])
diff --git a/m4/np_coreutils.m4 b/m4/np_coreutils.m4
index 23d55e44..5360bbd0 100644
--- a/m4/np_coreutils.m4
+++ b/m4/np_coreutils.m4
@@ -13,11 +13,13 @@ AC_DEFUN([np_COREUTILS],
AC_REQUIRE([AM_STDBOOL_H])
AC_REQUIRE([gl_C_STRTOLD])
AC_REQUIRE([gl_EXITFAIL])
+ AC_REQUIRE([gl_FCNTL_SAFER])
AC_REQUIRE([gl_FSUSAGE])
AC_REQUIRE([gl_FUNC_ALLOCA])
AC_REQUIRE([gl_GETOPT])
AC_REQUIRE([gl_MOUNTLIST])
AC_REQUIRE([gl_REGEX])
+ AC_REQUIRE([gl_UNISTD_SAFER])
AC_REQUIRE([gl_XALLOC])
AC_REQUIRE([gl_FUNC_GLIBC_UNLOCKED_IO])
diff --git a/m4/unistd-safer.m4 b/m4/unistd-safer.m4
new file mode 100644
index 00000000..6fbe4c6f
--- /dev/null
+++ b/m4/unistd-safer.m4
@@ -0,0 +1,13 @@
+#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],
+[
+ 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])
+])