File: extconf.rb

package info (click to toggle)
libconfig 1.7.3-2.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,792 kB
  • sloc: sh: 12,424; ansic: 5,406; cpp: 870; yacc: 329; makefile: 201; lex: 179; ruby: 7
file content (11 lines) | stat: -rw-r--r-- 180 bytes parent folder | download | duplicates (6)
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")