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

Comparing EV/Makefile.PL (file contents):
Revision 1.47 by root, Mon Nov 22 06:28:26 2010 UTC vs.
Revision 1.48 by root, Sun Nov 28 06:34:10 2010 UTC

237EOF 237EOF
238 238
239my $can_signalfd = -e "/usr/include/sys/signalfd.h"; 239my $can_signalfd = -e "/usr/include/sys/signalfd.h";
240$can_signalfd = $ENV{EV_SIGNALFD} if exists $ENV{EV_SIGNALFD}; 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]/)); 241$DEFINE .= " -DEV_USE_SIGNALFD=" . (0 + (prompt ("Enable linux signalfd support (y/n)?", $can_signalfd ? "y" : "n") =~ /[yY]/));
242
243print <<EOF;
244
245*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
246
247
248Very rarely, people want to tweak EV even more, e.g. to exclude
249or incldue certain watcher types or backends. Thisc na be done by adding
250extra -D options here, or via the EV_EXTRA_DEFS environment variable.
251Normal persons just press enter.
252
253EOF
254
255$DEFINE .= " " . prompt "Any extra -D options?", $ENV{EV_EXTRA_DEFS};
242 256
243print <<EOF; 257print <<EOF;
244 258
245*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 259*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
246 260

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines