ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/EV/Makefile.PL
(Generate patch)

Comparing EV/Makefile.PL (file contents):
Revision 1.41 by root, Tue Jul 14 00:09:59 2009 UTC vs.
Revision 1.42 by root, Sun Jul 19 01:36:34 2009 UTC

221EOF 221EOF
222 222
223my $can_eventfd = -e "/usr/include/sys/eventfd.h"; 223my $can_eventfd = -e "/usr/include/sys/eventfd.h";
224$can_eventfd = $ENV{EV_EVENTFD} if exists $ENV{EV_EVENTFD}; 224$can_eventfd = $ENV{EV_EVENTFD} if exists $ENV{EV_EVENTFD};
225$DEFINE .= " -DEV_USE_EVENTFD=" . (0 + (prompt ("Enable linux eventfd support (y/n)?", $can_eventfd ? "y" : "n") =~ /[yY]/)); 225$DEFINE .= " -DEV_USE_EVENTFD=" . (0 + (prompt ("Enable linux eventfd support (y/n)?", $can_eventfd ? "y" : "n") =~ /[yY]/));
226
227print <<EOF;
228
229*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
230
231
232Another sometimes useful bit of functionality is the Linux signalfd, which
233is useful for faster signal handling (don't care). Kernel support for
234this will be probed at runtime, but your libc must contain the necessary
235wrapper and include files. Glibc 2.9 and later should have this wrapper.
236
237EOF
238
239my $can_signalfd = -e "/usr/include/sys/signalfd.h";
240$can_signalfd = $ENV{EV_SIGNALFD} if exists $ENV{EV_SIGNALFD};
241$DEFINE .= " -DEV_USE_SIGNALFD=" . (0 + (prompt ("Enable linux signalfd support (y/n)?", $can_signalfd ? "y" : "n") =~ /[yY]/));
226 242
227print <<EOF; 243print <<EOF;
228 244
229*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 245*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
230 246

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines