summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e22914b)
raw | patch | inline | side by side (parent: e22914b)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Tue, 21 Dec 2004 09:32:45 +0000 (09:32 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Tue, 21 Dec 2004 09:32:45 +0000 (09:32 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1047 f882894a-f735-0410-b71e-b25c423dba1c
lib/Makefile.am | patch | blob | history | |
m4/Makefile.am | patch | blob | history | |
m4/np_coreutils.m4 | patch | blob | history |
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 80f3e62e028ac082c26b4c7a8f06a5fcdb5b8d11..9cab14af87e513a35159cde7432009f49c7e867e 100644 (file)
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
INCLUDES = -I$(srcdir) -I$(top_srcdir)/intl
+BUILT_SOURCES = $(STDBOOL_H)
+EXTRA_DIST = stdbool_.h
+MOSTLYCLEANFILES = stdbool.h stdbool.ht
+# Create stdbool.h on systems that lack a working one.
+stdbool.h: stdbool_.h
+ sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' $(srcdir)/stdbool_.h > $@t
+ mv $@t $@
+
diff --git a/m4/Makefile.am b/m4/Makefile.am
index 4fe72f1f081d5f5f5b02f1f35a079be6d2082ff0..ddb9d08affc03826abce64601aa96bf2591004c0 100644 (file)
--- a/m4/Makefile.am
+++ b/m4/Makefile.am
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 3f87686fc0c9287e49cbd557ae559068353ce789..e729604047d680e38201317e8a6393d1f2b5256b 100644 (file)
--- a/m4/np_coreutils.m4
+++ b/m4/np_coreutils.m4
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])