summaryrefslogtreecommitdiff
path: root/ext/json/parser/extconf.rb
blob: 4a10dd2ed69a2b64408d5900a7b91d5f91922a6c (plain)
1
2
3
4
5
6
7
8
9
10
require 'mkmf'
require 'rbconfig'

if RUBY_VERSION < "1.9"
  have_header("re.h")
else
  have_header("ruby/re.h")
  have_header("ruby/encoding.h")
end
create_makefile 'json/ext/parser'