<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7653.38">
<TITLE>RE: [libvirt] [PATCH 00/12] Domain Events - Round 2</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>

<P><FONT SIZE=2>Great to hear this all works for you.<BR>
<BR>
I'll be sure to take that automake change<BR>
(autoconf/automake is still a bit new to me, and I still find it a bit cryptic)<BR>
<BR>
As for the test app - I don't think that it is appropriate to run from make check<BR>
It was more designed to be a developer example, as suggested here:<BR>
<A HREF="https://www.redhat.com/archives/libvir-list/2008-October/msg00258.html">https://www.redhat.com/archives/libvir-list/2008-October/msg00258.html</A><BR>
<BR>
<BR>
-----Original Message-----<BR>
From: Jim Meyering [<A HREF="mailto:jim@meyering.net">mailto:jim@meyering.net</A>]<BR>
Sent: Sun 10/19/2008 6:23 AM<BR>
To: Ben Guthro<BR>
Cc: libvir-list@redhat.com<BR>
Subject: Re: [libvirt] [PATCH 00/12] Domain Events - Round 2<BR>
<BR>
Ben Guthro <bguthro@virtualiron.com> wrote:<BR>
> The following patch series implements the Events API discussed here previously in this thread:<BR>
> <A HREF="http://www.redhat.com/archives/libvir-list/2008-September/msg00321.html">http://www.redhat.com/archives/libvir-list/2008-September/msg00321.html</A> and<BR>
> <A HREF="http://www.redhat.com/archives/libvir-list/2008-October/msg00245.html">http://www.redhat.com/archives/libvir-list/2008-October/msg00245.html</A><BR>
...<BR>
<BR>
Nice work.<BR>
I spotted no problems in review, and noticed only one when testing:<BR>
In the new file, examples/domain-events/events-c/Makefile.am<BR>
<BR>
> diff --git a/examples/domain-events/events-c/Makefile.am b/examples/domain-events/events-c/Makefile.am<BR>
...<BR>
> @@ -0,0 +1,5 @@<BR>
> +INCLUDES = -I@top_srcdir@/include<BR>
> +bin_PROGRAMS = event-test<BR>
> +event_test_CFLAGS = $(WARN_CFLAGS)<BR>
> +event_test_SOURCES = event-test.c<BR>
> +event_test_LDADD = -L@top_srcdir@/src/.libs -lvirt<BR>
<BR>
that would fail with a non-srcdir build (i.e., when the<BR>
build_dir != srcdir), because then @top_srcdir@/src/.libs<BR>
doesn't exist, and that causes "make distcheck" to fail.<BR>
<BR>
Also, it is best not to reference libtool's .libs/ directories<BR>
directly, so you can use this instead:<BR>
<BR>
diff --git a/examples/domain-events/events-c/Makefile.am b/examples/domain-events/events-c/Makefile.am<BR>
index 1788dac..3c63ca3 100644<BR>
--- a/examples/domain-events/events-c/Makefile.am<BR>
+++ b/examples/domain-events/events-c/Makefile.am<BR>
@@ -2,4 +2,4 @@ INCLUDES = -I@top_srcdir@/include<BR>
 bin_PROGRAMS = event-test<BR>
 event_test_CFLAGS = $(WARN_CFLAGS)<BR>
 event_test_SOURCES = event-test.c<BR>
-event_test_LDADD = -L@top_srcdir@/src/.libs -lvirt<BR>
+event_test_LDADD = @top_builddir@/src/libvirt.la<BR>
<BR>
Finally, I noticed that "make check" does not run the new<BR>
event-test program that's built there.  Should it?<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>