diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2004-11-12 00:49:51 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2004-11-12 00:49:51 +0000 |
commit | fbf1e60f477460205c2002bb34b87f9e1e3b0faf (patch) | |
tree | 96d568de54259a8b1f8e6a88dbb533037ef730e5 /lib/error.m4 | |
parent | dbe8fb585697e3a7c073cef083ff2fb027b76968 (diff) | |
download | monitoring-plugins-fbf1e60f477460205c2002bb34b87f9e1e3b0faf.tar.gz |
Update to using coreutils 5.2.1 libraries and snprintf.c from samba 3.0.8
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@895 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'lib/error.m4')
-rw-r--r-- | lib/error.m4 | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/lib/error.m4 b/lib/error.m4 index 717725d6..0bc2e689 100644 --- a/lib/error.m4 +++ b/lib/error.m4 | |||
@@ -1,14 +1,15 @@ | |||
1 | #serial 5 | 1 | #serial 9 |
2 | 2 | ||
3 | dnl FIXME: put these prerequisite-only *.m4 files in a separate | 3 | AC_DEFUN([gl_ERROR], |
4 | dnl directory -- otherwise, they'll conflict with existing files. | 4 | [ |
5 | AC_FUNC_ERROR_AT_LINE | ||
6 | dnl Note: AC_FUNC_ERROR_AT_LINE does AC_LIBSOURCES([error.h, error.c]). | ||
7 | jm_PREREQ_ERROR | ||
8 | ]) | ||
5 | 9 | ||
6 | dnl These are the prerequisite macros for GNU's error.c file. | 10 | # Prerequisites of lib/error.c. |
7 | AC_DEFUN([jm_PREREQ_ERROR], | 11 | AC_DEFUN([jm_PREREQ_ERROR], |
8 | [ | 12 | [ |
9 | AC_CHECK_FUNCS(strerror vprintf doprnt) | 13 | AC_REQUIRE([AC_FUNC_STRERROR_R]) |
10 | AC_CHECK_DECLS([strerror]) | 14 | : |
11 | AC_CHECK_HEADERS([libintl.h]) | ||
12 | AC_FUNC_STRERROR_R | ||
13 | AC_HEADER_STDC | ||
14 | ]) | 15 | ]) |