From df23fd75267c830f85a74cfde3020981c37e82a5 Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Tue, 11 Jul 2006 12:38:09 +0000 Subject: 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 --- m4/fcntl-safer.m4 | 12 ++++++++++++ m4/np_coreutils.m4 | 2 ++ m4/unistd-safer.m4 | 13 +++++++++++++ 3 files changed, 27 insertions(+) create mode 100644 m4/fcntl-safer.m4 create mode 100644 m4/unistd-safer.m4 (limited to 'm4') 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]) +]) -- cgit v1.2.3