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.4.5 ext/json/ext/generator/extconf.rb
json-1.4.5 ext/json/ext/generator/extconf.rb
json_pure-1.4.4 ext/json/ext/generator/extconf.rb
json-1.4.4 ext/json/ext/generator/extconf.rb