aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libconfig-ruby/ext/extconf.rb
blob: e6d65ca69008dd7207aaf2ca2d8f7f66437543c4 (plain)
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")