From: Justin Clift Date: Fri, 22 Oct 2010 20:52:18 +0000 (+1100) Subject: daemon: exclude requirement for probes.h on systems without systemtap X-Git-Tag: v0.8.5~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=880da47a05b9fb8381e79b03ead5dd2d8a6a937a;p=thirdparty%2Flibvirt.git daemon: exclude requirement for probes.h on systems without systemtap This 1-liner was actually written by Eric Blake, over IRC. It addresses a compilation failure in make dist and make rpm for systems without the dtrace/systemtap development libraries installed. --- diff --git a/daemon/Makefile.am b/daemon/Makefile.am index 0e254d4b09..d1ffd97656 100644 --- a/daemon/Makefile.am +++ b/daemon/Makefile.am @@ -168,7 +168,7 @@ EXTRA_DIST += probes.d libvirtd.stp if WITH_DTRACE libvirtd_LDADD += probes.o -libvirtd_SOURCES += probes.h +libvirtd_nodist_SOURCES = probes.h BUILT_SOURCES += probes.h