Sergei Golubchik writes:
>> Then I also need to decide what to do for packages when system
>> libevent is too old. I checked, and Debian 4+5 and Ubuntu up to 9.04
>> have only libevent 1.3. Ubuntu >= 9.10 has libevent 1.4.
>>
>> I think the best is to use bundled libevent on those older distros.
Kristian Nielsen writes:
> I guess the solution is to check for system libevent version also, and if too
> old treat it the same way as not present. Seems we can check for the presense
> of the evutil_socketpair() function, which was added in libevent 1.4.
Looks like something like this works:
nore...@launchpad.net writes:
>
> revno: 2809
> committer: Sergei Golubchik
> branch nick: maria-5.1
> timestamp: Fri 2010-01-29 21:35:56 +0100
> message:
> Support building with system libevent
> modified:
> config/ac-macros/libeve
revno: 2809
committer: Sergei Golubchik
branch nick: maria-5.1
timestamp: Fri 2010-01-29 21:35:56 +0100
message:
Support building with system libevent
modified:
config/ac-macros/libevent.m4
--
lp:maria
https://code.launchpad.net/~m
4 matches
Mail list logo