Top Level Namespace
Defined Under Namespace
Modules: Audio
Instance Method Summary collapse
Instance Method Details
#exit_failure(msg) ⇒ Object
5 6 7 8 9 |
# File 'ext/icanhasaudio/extconf.rb', line 5 def exit_failure(msg) Logging:: msg msg + "\n" exit(1) end |
#find_header(header, *paths) ⇒ Object
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'ext/icanhasaudio/extconf.rb', line 12 def find_header(header, *paths) header = cpp_include(header) checking_for header do if try_cpp(header) true else found = false paths.each do |dir| opt = "-I#{dir}".quote if try_cpp(header, opt) $CPPFLAGS << " " << opt found = true break end end found end end end |