ext/god/extconf.rb in god-0.11.0 vs ext/god/extconf.rb in god-0.12.0

- old
+ new

@@ -14,11 +14,11 @@ unless have_header('sys/event.h') puts puts "Missing 'sys/event.h' header" fail = true end - + if fail puts puts "Events handler could not be compiled (see above error). Your god installation will not support event conditions." create_dummy_makefile else @@ -29,18 +29,18 @@ puts puts "Missing 'linux/netlink.h' header(s)" puts "You may need to install a header package for your system" fail = true end - + unless have_header('linux/connector.h') && have_header('linux/cn_proc.h') puts puts "Missing 'linux/connector.h', or 'linux/cn_proc.h' header(s)" puts "These are only available in Linux kernel 2.6.15 and later (run `uname -a` to find yours)" puts "You may need to install a header package for your system" fail = true end - + if fail puts puts "Events handler could not be compiled (see above error). Your god installation will not support event conditions." create_dummy_makefile else