[libdispatch-dev] [PATCH] use libkqueue if sys/event.h is missing
jocke at tbricks.com
Wed Nov 18 01:06:35 PST 2009
On 17 nov 2009, at 19.47, Robert Watson wrote:
> On Mon, 16 Nov 2009, Joakim Johansson wrote:
>> Unfortunately, it breaks on Solaris, as PKG_CHECK_MODULES isn't available:
>> checking for sys/event.h... no
>> ./configure: line 14665: syntax error near unexpected token `KQUEUE,'
>> ./configure: line 14665: ` PKG_CHECK_MODULES(KQUEUE, libkqueue)'
>> I'll see if I can figure it out...
> Peter O'Gorman's suggestion of just committing pkg.m4 seems to do the trick for Snow Leopard, and may also help with Solaris. Could you update and give it a spin?
Just did - works perfectly fine!
Now pkg-config don't have to be installed and autogen.sh doesn't need to be modified to change the include path for autoreconf, much nicer! (one less dependency)
More information about the libdispatch-dev