aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libconfig-ruby/ext/extconf.rb
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2011-12-01 22:56:23 +0000
committerJonathan McCrohan <jmccrohan@gmail.com>2011-12-01 22:56:23 +0000
commit429e46051dba814e7d6c74368eb1bba550222cbe (patch)
treeed1dd43cd23c69f156aae2165006a16a66262cef /contrib/libconfig-ruby/ext/extconf.rb
parent58bf1382be0cbcf3f9649286fd2719b789a1595f (diff)
downloadlibconfig-faaa576c7d4f56a6633683e3261ae99582bf887a.tar.gz
Imported Upstream version 1.4.8upstream/1.4.8
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")