1 2 3 4 5 6 7 8 9 10 11
#!/usr/bin/ruby require "mkmf" unless pkg_config('libconfig') puts 'failure: need libconfig' exit 1 end have_func('rb_block_call', 'ruby/ruby.h') create_makefile("rconfig")