Browse Source

Fix kqueue check (broke it in last commit)

v0.7.4-release
Ryan Dahl 15 years ago
parent
commit
22d1d3dbf7
  1. 7
      deps/libev/wscript

7
deps/libev/wscript

@ -27,10 +27,11 @@ def configure(conf):
if conf.check_cc(header_name="poll.h"): if conf.check_cc(header_name="poll.h"):
conf.check_cc(header_name="poll.h", function_name="poll") conf.check_cc(header_name="poll.h", function_name="poll")
if conf.check_cc(header_name="sys/event.h"): conf.check_cc(header_name="sys/event.h")
conf.check_cc(header_name="sys/queue.h")
if PLATFORM_IS_DARWIN:
conf.check_cc(header_name="sys/event.h", function_name="kqueue") conf.check_cc(header_name="sys/event.h", function_name="kqueue")
else:
if conf.check_cc(header_name="sys/queue.h"):
conf.check_cc(header_name="sys/queue.h", function_name="kqueue") conf.check_cc(header_name="sys/queue.h", function_name="kqueue")
if conf.check_cc(header_name="sys/select.h"): if conf.check_cc(header_name="sys/select.h"):

Loading…
Cancel
Save