aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libconfig-ruby/ext/extconf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libconfig-ruby/ext/extconf.rb')
-rw-r--r--contrib/libconfig-ruby/ext/extconf.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/libconfig-ruby/ext/extconf.rb b/contrib/libconfig-ruby/ext/extconf.rb
new file mode 100644
index 0000000..e6d65ca
--- /dev/null
+++ b/contrib/libconfig-ruby/ext/extconf.rb
@@ -0,0 +1,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")