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

Comparing EV/Makefile.PL (file contents):
Revision 1.35 by root, Thu Oct 2 12:27:56 2008 UTC vs.
Revision 1.36 by root, Wed Oct 29 17:41:11 2008 UTC

66print <<EOF; 66print <<EOF;
67 67
68*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 68*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
69 69
70 70
71Another useful bit of functionality is the Linux eventfd, which is useful
72for faster signal handling (don't care) and intra-thread communications
73(mostly useful for embedding). Kernel support for this will be probed at
74runtime, but your libc must contain the necessary wrapper. Glibc 2.7 and
75later should have this wrapper.
76
77EOF
78
79$DEFINE .= " -DEV_USE_EVENTFD=" . (0 + (prompt ("Enable linux eventfd support (y/n)?", (-e "/usr/include/sys/eventfd.h") || $ENV{EV_EVENTFD} ? "y" : "n") =~ /[yY]/));
80
81print <<EOF;
82
83*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
84
85
86EV can use various backends with various portability issue. The select 71EV can use various backends with various portability issue. The select
87backend is the most portable and makes for a good fallback, but it can be 72backend is the most portable and makes for a good fallback, but it can be
88limited to a low number of file descriptors and/or might not compile. If 73limited to a low number of file descriptors and/or might not compile. If
89you have problems with compiling ev_select.c, you might try to play around 74you have problems with compiling ev_select.c, you might try to play around
90with disabling it here, or forcing it to use the fd_set provided by your 75with disabling it here, or forcing it to use the fd_set provided by your
216EOF 201EOF
217 202
218my $can_inotify = -e "/usr/include/sys/inotify.h"; 203my $can_inotify = -e "/usr/include/sys/inotify.h";
219 204
220$DEFINE .= " -DEV_USE_INOTIFY=" . (0 + (prompt ("Enable inotify support (y/n)?", $can_inotify ? "y" : "n") =~ /[yY]/)); 205$DEFINE .= " -DEV_USE_INOTIFY=" . (0 + (prompt ("Enable inotify support (y/n)?", $can_inotify ? "y" : "n") =~ /[yY]/));
206
207print <<EOF;
208
209*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
210
211
212Another useful bit of functionality is the Linux eventfd, which is useful
213for faster signal handling (don't care) and intra-thread communications
214(more relevant). Kernel support for this will be probed at runtime, but
215your libc must contain the necessary wrapper. Glibc 2.7 and later should
216have this wrapper.
217
218EOF
219
220$DEFINE .= " -DEV_USE_EVENTFD=" . (0 + (prompt ("Enable linux eventfd support (y/n)?", (-e "/usr/include/sys/eventfd.h") || $ENV{EV_EVENTFD} ? "y" : "n") =~ /[yY]/));
221 221
222print <<EOF; 222print <<EOF;
223 223
224*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 224*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
225 225

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines