From cf812dff06cdd8166366009b45142ba3db41e619 Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Tue, 21 Dec 2004 09:32:45 +0000 Subject: 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 --- lib/Makefile.am | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib') diff --git a/lib/Makefile.am b/lib/Makefile.am index 80f3e62e..9cab14af 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -36,3 +36,11 @@ libnagiosplug_a_SOURCES = snprintf.c 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 $@ + -- cgit v1.2.3-74-g34f1