[Nagiosplug-checkins] nagiosplug/lib Makefile.am,1.22,1.23

Ton Voon tonvoon at users.sourceforge.net
Tue Dec 21 01:33:11 CET 2004


Update of /cvsroot/nagiosplug/nagiosplug/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12575/lib

Modified Files:
	Makefile.am 
Log Message:
Fixed compile problem on Sol2.6 with stdbool.h


Index: Makefile.am
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/lib/Makefile.am,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- Makefile.am	15 Dec 2004 20:47:25 -0000	1.22
+++ Makefile.am	21 Dec 2004 09:32:44 -0000	1.23
@@ -36,3 +36,11 @@
 
 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 $@
+





More information about the Commits mailing list