… | |
… | |
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 | |