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

Comparing EV/Makefile.PL (file contents):
Revision 1.31 by root, Thu Jan 31 19:59:23 2008 UTC vs.
Revision 1.36 by root, Wed Oct 29 17:41:11 2008 UTC

201EOF 201EOF
202 202
203my $can_inotify = -e "/usr/include/sys/inotify.h"; 203my $can_inotify = -e "/usr/include/sys/inotify.h";
204 204
205$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]/));
206 221
207print <<EOF; 222print <<EOF;
208 223
209*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 224*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
210 225
235 PM => { 250 PM => {
236 'EV.pm' => '$(INST_LIBDIR)/EV.pm', 251 'EV.pm' => '$(INST_LIBDIR)/EV.pm',
237 'EV/EVAPI.h' => '$(INST_LIBDIR)/EV/EVAPI.h', 252 'EV/EVAPI.h' => '$(INST_LIBDIR)/EV/EVAPI.h',
238 'EV/MakeMaker.pm' => '$(INST_LIBDIR)/EV/MakeMaker.pm', 253 'EV/MakeMaker.pm' => '$(INST_LIBDIR)/EV/MakeMaker.pm',
239 'libev/ev.h' => '$(INST_LIBDIR)/EV/ev.h', 254 'libev/ev.h' => '$(INST_LIBDIR)/EV/ev.h',
255 'libev/ev.pod' => '$(INST_LIBDIR)/EV/libev.pod',
240 }, 256 },
257 MAN3PODS => {
258 'EV.pm' => '$(INST_MAN3DIR)/EV.$(MAN3EXT)',
259 'EV/MakeMaker.pm' => '$(INST_MAN3DIR)/EV::MakeMaker.$(MAN3EXT)',
260 'libev/ev.pod' => '$(INST_MAN3DIR)/EV::libev.$(MAN3EXT)',
261 },
241); 262);
242 263
243 264

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines