[PATCH] [S4] Make libevents buildable standalone

simo idra at samba.org
Sun May 11 13:23:20 GMT 2008

On Sun, 2008-05-11 at 15:12 +0200, Jelmer Vernooij wrote:
> Hi Simo,
> Am Donnerstag, den 24.04.2008, 17:33 -0400 schrieb simo:
> > I am not a build system wizard, but I need to make it possible to build
> > libevents standalone so that it can be used in libldb standalone as
> > well, letting me use the events system in ldb without having to use
> > dirty opaque pointers to try to pass the event_context around in the
> > right places.
> > 
> > If someone can review and comment before I commit it would be nice.
> > One thing I still would like to be able to do is to build libevents
> > without linking statically to talloc.o and instead dynamically link to
> > libtalloc.so, but that can wait a little longer.
> I think we should install this under a different name than simply
> "libevents" to avoid confusion with a library with similar functionality
> named "libevent". Not that I have a good idea for an alternative name...

Yeah, but I have no good ideas for a name either.
Tridge, given you wrote most of it, do you have one? :)

> I'm not sure how useful it is to install the python module - it doesn't
> contain anything particularly useful on its own and simply adds cruft in
> the build system. 

I can certainly remove this.

> For the record, I still have my doubts about the maintainability of
> building more projects both as part of Samba 4 and as standalone
> projects and I think we should pick one of the two ways.

I am all for finally separating out pieces, and just have build
dependencies. But it seem there is no clear consensus yet.

> Patch looks good though :-)

Ok, will remove python stuff, and update it to latest code, then commit.


Simo Sorce
Samba Team GPL Compliance Officer <simo at samba.org>
Senior Software Engineer at Red Hat Inc. <ssorce at redhat.com>

More information about the samba-technical mailing list