aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorGravatar Ton Voon <tonvoon@users.sourceforge.net> 2004-12-21 09:32:45 +0000
committerGravatar Ton Voon <tonvoon@users.sourceforge.net> 2004-12-21 09:32:45 +0000
commitcf812dff06cdd8166366009b45142ba3db41e619 (patch)
treef404a259fa889bb07e2c71b283638e8150f5cbfa /m4
parente22914b7ff9b863665f6e2ad19527b5cf9c4b839 (diff)
downloadmonitoring-plugins-cf812dff06cdd8166366009b45142ba3db41e619.tar.gz
Fixed compile problem on Sol2.6 with stdbool.h
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1047 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'm4')
-rw-r--r--m4/Makefile.am1
-rw-r--r--m4/np_coreutils.m44
2 files changed, 5 insertions, 0 deletions
diff --git a/m4/Makefile.am b/m4/Makefile.am
index 4fe72f1f..ddb9d08a 100644
--- a/m4/Makefile.am
+++ b/m4/Makefile.am
@@ -28,6 +28,7 @@ EXTRA_DIST += np_coreutils.m4
EXTRA_DIST += onceonly.m4
EXTRA_DIST += progtest.m4
EXTRA_DIST += realloc.m4
+EXTRA_DIST += stdbool.m4
EXTRA_DIST += stdint_h.m4
EXTRA_DIST += uintmax_t.m4
EXTRA_DIST += ulonglong.m4
diff --git a/m4/np_coreutils.m4 b/m4/np_coreutils.m4
index 3f87686f..e7296040 100644
--- a/m4/np_coreutils.m4
+++ b/m4/np_coreutils.m4
@@ -6,8 +6,12 @@ m4_pattern_forbid([^np_[ABCDEFGHIJKLMNOPQRSTUVXYZ]])dnl
m4_pattern_forbid([^jm_[ABCDEFGHIJKLMNOPQRSTUVXYZ]])dnl
m4_pattern_forbid([^gl_[ABCDEFGHIJKLMNOPQRSTUVXYZ]])dnl
+dnl These are all m4 things that need to be called
+dnl Usually in coreutils' prereq.m4, but this is a subset that we need
AC_DEFUN([np_COREUTILS],
[
+ AC_REQUIRE([gl_GETOPT])
+ AC_REQUIRE([AM_STDBOOL_H])
AC_REQUIRE([jm_AFS])
AC_REQUIRE([gl_EXITFAIL])
AC_REQUIRE([gl_XALLOC])