… | |
… | |
150 | |
150 | |
151 | EOF |
151 | EOF |
152 | |
152 | |
153 | if (prompt ("Enable kqueue backend (y/n)?", (-e "/usr/include/sys/event.h") ? "y" : "n") =~ /[yY]/) { |
153 | if (prompt ("Enable kqueue backend (y/n)?", (-e "/usr/include/sys/event.h") ? "y" : "n") =~ /[yY]/) { |
154 | $DEFINE .= " -DEV_USE_KQUEUE"; |
154 | $DEFINE .= " -DEV_USE_KQUEUE"; |
|
|
155 | } |
|
|
156 | |
|
|
157 | print <<EOF; |
|
|
158 | |
|
|
159 | |
|
|
160 | *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** |
|
|
161 | |
|
|
162 | Similarly to the kqueue backend above, EV can take advantage of the |
|
|
163 | solaris 10 port interface. Support for port will be detected at runtime, |
|
|
164 | with a safe fallback to other methods when it cannot be used. |
|
|
165 | |
|
|
166 | EOF |
|
|
167 | |
|
|
168 | if (prompt ("Enable port backend (y/n)?", (-e "/usr/include/sys/port.h") ? "y" : "n") =~ /[yY]/) { |
|
|
169 | $DEFINE .= " -DEV_USE_PORT"; |
155 | } |
170 | } |
156 | |
171 | |
157 | print <<EOF; |
172 | print <<EOF; |
158 | |
173 | |
159 | |
174 | |