Sha256: 3e0e4d95362102ddde86633f106d3dd833c2b3755359d832ba2e08c653427051

Contents?: true

Size: 424 Bytes

Versions: 9

Compression:

Stored size: 424 Bytes

Contents

# -*- encoding: binary -*-
require 'mkmf'

dir_config("kcar")

have_macro("SIZEOF_OFF_T", "ruby.h") or check_sizeof("off_t", "sys/types.h")
have_macro("SIZEOF_LONG", "ruby.h") or check_sizeof("long", "sys/types.h")
have_func("rb_str_set_len", "ruby.h")
have_func("rb_str_modify", "ruby.h")

# -fPIC is needed for Rubinius, MRI already uses it regardless
with_cflags($CFLAGS + " -fPIC ") do
  create_makefile("kcar_ext")
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
kcar-0.6.0 ext/kcar/extconf.rb
kcar-0.5.0 ext/kcar/extconf.rb
kcar-0.4.0 ext/kcar/extconf.rb
kcar-0.3.1 ext/kcar/extconf.rb
kcar-0.3.0 ext/kcar/extconf.rb
kcar-0.2.0 ext/kcar/extconf.rb
kcar-0.1.2 ext/kcar/extconf.rb
kcar-0.1.1 ext/kcar/extconf.rb
kcar-0.1.0 ext/kcar/extconf.rb