[libdispatch-dev] [PATCH] use libkqueue if sys/event.h is missing
mark at heily.com
Wed Nov 11 19:53:57 PST 2009
Robert N. M. Watson wrote:
> On 2 Nov 2009, at 03:16, Mark Heily wrote:
>> Robert Watson wrote:
>>> Given that package installation conventions vary by OS/distribution
>>> (/opt, /usr/local, /usr, ...), would it might make more sense to
>>> simply add a "--with-kqueue-includ-path" argument to configure?
>> Paolo suggested using pkg-config and the PKG_CHECK_MODULES macro to
>> give some flexibility about where the headers and libraries are
>> installed. I'll submit a new patch that uses pkg-config and
> Sounds good.
Attached is a patch that uses pkg-config(1) to determine the installed
location of libkqueue and set the appropriate Makefile variables. I'm not
100% sure the LIBADD and LDFLAGS variables are correct, but I can't test it
until libdispatch compiles cleanly on Linux.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1344 bytes
Desc: not available
More information about the libdispatch-dev