Sha256: 90bc1936f9d5fc94339d496b4a4979c5dba62ee6463bb6a10abea2e28e292d0b

Contents?: true

Size: 394 Bytes

Versions: 44

Compression:

Stored size: 394 Bytes

Contents

require 'mkmf'
require 'rbconfig'

unless $CFLAGS.gsub!(/ -O[\dsz]?/, ' -O3')
  $CFLAGS << ' -O3'
end
if CONFIG['CC'] =~ /gcc/
  $CFLAGS << ' -Wall'
  #unless $CFLAGS.gsub!(/ -O[\dsz]?/, ' -O0 -ggdb')
  #  $CFLAGS << ' -O0 -ggdb'
  #end
end

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/generator'

Version data entries

44 entries across 44 versions & 9 rubygems

Version Path
json_pure-1.5.5 ext/json/ext/generator/extconf.rb
json-1.5.5 ext/json/ext/generator/extconf.rb
fragrant-0.0.5 vendor/bundle/ruby/1.9.1/gems/json-1.5.4/ext/json/ext/generator/extconf.rb
resque-pool-0.3.0 vendor/bundle/ruby/1.8/gems/json-1.4.6/ext/json/ext/generator/extconf.rb
resque-pool-0.3.0.beta.2 vendor/bundle/ruby/1.8/gems/json-1.4.6/ext/json/ext/generator/extconf.rb
json-maglev--1.5.4 ext/json/ext/generator/extconf.rb
json_pure-1.6.1 ext/json/ext/generator/extconf.rb
json-1.6.1 ext/json/ext/generator/extconf.rb
json_pure-1.6.0 ext/json/ext/generator/extconf.rb
json-1.6.0 ext/json/ext/generator/extconf.rb
json_pure-1.5.4 ext/json/ext/generator/extconf.rb
json-1.5.4 ext/json/ext/generator/extconf.rb
json_pure-1.5.3 ext/json/ext/generator/extconf.rb
json-1.5.3 ext/json/ext/generator/extconf.rb
json-1.5.2 ext/json/ext/generator/extconf.rb
json_pure-1.5.2 ext/json/ext/generator/extconf.rb
larsklevan-json-1.5.1 ext/json/ext/generator/extconf.rb
json_pure-1.5.1 ext/json/ext/generator/extconf.rb
json-1.5.1 ext/json/ext/generator/extconf.rb
vim-jar-0.1.2.0001 bundler/ruby/1.8/gems/json-1.4.6/ext/json/ext/generator/extconf.rb