… | |
… | |
74 | runtime, but your libc must contain the necessary wrapper. Glibc 2.7 and |
74 | runtime, but your libc must contain the necessary wrapper. Glibc 2.7 and |
75 | later should have this wrapper. |
75 | later should have this wrapper. |
76 | |
76 | |
77 | EOF |
77 | EOF |
78 | |
78 | |
79 | $DEFINE .= " -DEV_USE_EVENTFD=" . (0 + (prompt ("Enable linux eventfd support (y/n)?", (-e "/usr/include/sys/eventfd.h") ? "y" : "n") =~ /[yY]/)); |
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 | |
80 | |
81 | print <<EOF; |
81 | print <<EOF; |
82 | |
82 | |
83 | *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** |
83 | *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** |
84 | |
84 | |
… | |
… | |
250 | PM => { |
250 | PM => { |
251 | 'EV.pm' => '$(INST_LIBDIR)/EV.pm', |
251 | 'EV.pm' => '$(INST_LIBDIR)/EV.pm', |
252 | 'EV/EVAPI.h' => '$(INST_LIBDIR)/EV/EVAPI.h', |
252 | 'EV/EVAPI.h' => '$(INST_LIBDIR)/EV/EVAPI.h', |
253 | 'EV/MakeMaker.pm' => '$(INST_LIBDIR)/EV/MakeMaker.pm', |
253 | 'EV/MakeMaker.pm' => '$(INST_LIBDIR)/EV/MakeMaker.pm', |
254 | 'libev/ev.h' => '$(INST_LIBDIR)/EV/ev.h', |
254 | 'libev/ev.h' => '$(INST_LIBDIR)/EV/ev.h', |
|
|
255 | 'libev/ev.pod' => '$(INST_LIBDIR)/EV/c_doc.pod', |
255 | }, |
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::c_doc.$(MAN3EXT)', |
|
|
261 | }, |
256 | ); |
262 | ); |
257 | |
263 | |
258 | |
264 | |