Sha256: 20df28d985f742db5de4f699f772d2b1bb7ba911da529af43ceb996a389fee60

Contents?: true

Size: 385 Bytes

Versions: 5

Compression:

Stored size: 385 Bytes

Contents

# encoding: UTF-8
require 'mkmf'
require 'rbconfig'

def define(macro, value = nil)
  $defs.push("-D #{[macro.upcase, value].compact.join('=')}")
end

$CFLAGS << ' -Wall -funroll-loops'
$CFLAGS << ' -Wextra -O0 -ggdb3' if ENV['DEBUG']

have_library('yajl', 'yajl_parse', 'yajl/yajl_parse.h')
define("READ_BUFSIZE", "8192")

create_header("yaji_config.h")
create_makefile("parser_ext")

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
yaji-0.0.5 ext/yaji/extconf.rb
yaji-0.0.4 ext/yaji/extconf.rb
yaji-0.0.3 ext/yaji/extconf.rb
yaji-0.0.2 ext/yaji/extconf.rb
yaji-0.0.1 ext/yaji/extconf.rb