Sha256: 2386be994b69500038c1652e86ce189d09b648ec5b0933b70ff8ddc57be9d1ac

Contents?: true

Size: 321 Bytes

Versions: 19

Compression:

Stored size: 321 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

have_header("re.h")
have_header("ruby/st.h")
create_makefile 'json/ext/parser'

Version data entries

19 entries across 19 versions & 5 rubygems

Version Path
json_pure-1.5.5 ext/json/ext/parser/extconf.rb
json-1.5.5 ext/json/ext/parser/extconf.rb
fragrant-0.0.5 vendor/bundle/ruby/1.9.1/gems/json-1.5.4/ext/json/ext/parser/extconf.rb
json-maglev--1.5.4 ext/json/ext/parser/extconf.rb
json_pure-1.6.1 ext/json/ext/parser/extconf.rb
json-1.6.1 ext/json/ext/parser/extconf.rb
json_pure-1.6.0 ext/json/ext/parser/extconf.rb
json-1.6.0 ext/json/ext/parser/extconf.rb
json_pure-1.5.4 ext/json/ext/parser/extconf.rb
json-1.5.4 ext/json/ext/parser/extconf.rb
json_pure-1.5.3 ext/json/ext/parser/extconf.rb
json-1.5.3 ext/json/ext/parser/extconf.rb
json-1.5.2 ext/json/ext/parser/extconf.rb
json_pure-1.5.2 ext/json/ext/parser/extconf.rb
larsklevan-json-1.5.1 ext/json/ext/parser/extconf.rb
json_pure-1.5.1 ext/json/ext/parser/extconf.rb
json-1.5.1 ext/json/ext/parser/extconf.rb
json_pure-1.5.0 ext/json/ext/parser/extconf.rb
json-1.5.0 ext/json/ext/parser/extconf.rb