… | |
… | |
66 | print <<EOF; |
66 | print <<EOF; |
67 | |
67 | |
68 | *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** |
68 | *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** |
69 | |
69 | |
70 | |
70 | |
71 | EV can use various backends with various portability issue. The select |
71 | EV can use various backends with various portability issues. The select |
72 | backend is the most portable and makes for a good fallback, but it can be |
72 | backend is the most portable and makes for a good fallback, but it can be |
73 | limited to a low number of file descriptors and/or might not compile. If |
73 | limited to a low number of file descriptors and/or might not compile. If |
74 | you have problems with compiling ev_select.c, you might try to play around |
74 | you have problems with compiling ev_select.c, you might try to play around |
75 | with disabling it here, or forcing it to use the fd_set provided by your |
75 | with disabling it here, or forcing it to use the fd_set provided by your |
76 | OS, via the next question. I highly recommend keeping it in. |
76 | OS, via the next question. I highly recommend keeping it in. |
… | |
… | |
243 | print <<EOF; |
243 | print <<EOF; |
244 | |
244 | |
245 | *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** |
245 | *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** |
246 | |
246 | |
247 | |
247 | |
248 | EOF |
248 | Very rarely, people want to tweak EV even more, e.g. to exclude |
|
|
249 | or incldue certain watcher types or backends. Thisc na be done by adding |
|
|
250 | extra -D options here, or via the EV_EXTRA_DEFS environment variable. |
|
|
251 | Normal persons just press enter. |
249 | |
252 | |
|
|
253 | EOF |
|
|
254 | |
|
|
255 | $DEFINE .= " " . prompt "Any extra -D options?", "$ENV{EV_EXTRA_DEFS}"; |
|
|
256 | |
|
|
257 | print <<EOF; |
|
|
258 | |
|
|
259 | *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** |
|
|
260 | |
|
|
261 | |
|
|
262 | EOF |
|
|
263 | |
250 | my @anyevent = eval { require AnyEvent; $AnyEvent::VERSION < 2.6 } ? (AnyEvent => 2.6) : (); |
264 | my @anyevent = eval { require AnyEvent; $AnyEvent::VERSION < 5.29 } ? (AnyEvent => 5.29) : (); |
251 | |
265 | |
252 | WriteMakefile( |
266 | WriteMakefile( |
253 | dist => { |
267 | dist => { |
254 | PREOP => 'pod2text EV.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', |
268 | PREOP => 'pod2text EV.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', |
255 | COMPRESS => 'gzip -9v', |
269 | COMPRESS => 'gzip -9v', |