[Nagiosplug-checkins] nagiosplug/plugins-root Makefile.am,1.2,1.3

M. Sean Finney seanius at users.sourceforge.net
Thu Oct 6 05:15:50 CEST 2005


Update of /cvsroot/nagiosplug/nagiosplug/plugins-root
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3628/plugins-root

Modified Files:
	Makefile.am 
Log Message:
whoops.  now using automake conditionals to prevent attempted compiles
of pst3 on non solaris systems.


Index: Makefile.am
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins-root/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Makefile.am	25 Sep 2005 16:34:07 -0000	1.2
+++ Makefile.am	6 Oct 2005 12:12:47 -0000	1.3
@@ -9,7 +9,12 @@
 DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
 LIBS = @LIBINTL@ @LIBS@ @SSLINCLUDE@
 
-EXTRA_PROGRAMS = check_dhcp check_icmp pst3
+EXTRA_PROGRAMS = check_dhcp check_icmp
+
+if WANT_PST3
+	EXTRA_PROGRAMS += pst3
+	pst3_DEPENDENCIES = pst3.c
+endif
 
 BASEOBJS = ../plugins/utils.o ../lib/libnagiosplug.a ../lib/libcoreutils.a
 NETOBJS = ../plugins/netutils.o $(BASEOBJS) $(EXTRA_NETOBJS)
@@ -71,4 +76,3 @@
 
 check_dhcp_DEPENDENCIES = check_dhcp.c $(NETOBJS) $(DEPLIBS) 
 check_icmp_DEPENDENCIES = check_icmp.c
-pst3_DEPENDENCIES = pst3.c





More information about the Commits mailing list