xbot/include/libconfig-1.7.3/contrib/libconfig-ruby/ext/extconf.rb

12 lines
180 B
Ruby
Raw Permalink Normal View History

2024-02-13 07:22:10 +00:00
#!/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")