Sha256: d52c404ff8a8210aec7bdf45b0adce56e5d1488b4f2b852db537c6231309d81e

Contents?: true

Size: 1007 Bytes

Versions: 83

Compression:

Stored size: 1007 Bytes

Contents

require 'mkmf'

have_header("ruby/st.h")
have_header("st.h")
have_func("rb_str_replace", ["ruby.h"])
have_func("rb_intern_str", ["ruby.h"])
have_func("rb_sym2str", ["ruby.h"])
have_func("rb_str_intern", ["ruby.h"])
have_func("rb_block_lambda", ["ruby.h"])
have_func("rb_hash_dup", ["ruby.h"])
have_func("rb_hash_clear", ["ruby.h"])

unless RUBY_PLATFORM.include? 'mswin'
  $CFLAGS << %[ -I.. -Wall -O3 -g -std=gnu99]
end
#$CFLAGS << %[ -DDISABLE_RMEM]
#$CFLAGS << %[ -DDISABLE_RMEM_REUSE_INTERNAL_FRAGMENT]
#$CFLAGS << %[ -DDISABLE_BUFFER_READ_REFERENCE_OPTIMIZE]
#$CFLAGS << %[ -DDISABLE_BUFFER_READ_TO_S_OPTIMIZE]

if defined?(RUBY_ENGINE) && RUBY_ENGINE == 'rbx'
  # msgpack-ruby doesn't modify data came from RSTRING_PTR(str)
  $CFLAGS << %[ -DRSTRING_NOT_MODIFIED]
  # Rubinius C extensions don't grab GVL while rmem is not thread safe
  $CFLAGS << %[ -DDISABLE_RMEM]
end

if warnflags = CONFIG['warnflags']
  warnflags.slice!(/ -Wdeclaration-after-statement/)
end

create_makefile('msgpack/msgpack')

Version data entries

83 entries across 83 versions & 3 rubygems

Version Path
msgpack-1.3.3-x64-mingw32 ext/msgpack/extconf.rb
msgpack-1.3.3-x86-mingw32 ext/msgpack/extconf.rb
msgpack-1.3.3 ext/msgpack/extconf.rb
msgpack-1.3.2-x64-mingw32 ext/msgpack/extconf.rb
msgpack-1.3.2-x86-mingw32 ext/msgpack/extconf.rb
msgpack-1.3.2 ext/msgpack/extconf.rb
chatops-rpc-0.0.2 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/msgpack-1.3.1/ext/msgpack/extconf.rb
chatops-rpc-0.0.1 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/msgpack-1.3.1/ext/msgpack/extconf.rb
msgpack-1.3.1-x64-mingw32 ext/msgpack/extconf.rb
msgpack-1.3.1-x86-mingw32 ext/msgpack/extconf.rb
msgpack-1.3.1 ext/msgpack/extconf.rb
msgpack-1.3.0-x64-mingw32 ext/msgpack/extconf.rb
msgpack-1.3.0-x86-mingw32 ext/msgpack/extconf.rb
msgpack-1.3.0 ext/msgpack/extconf.rb
msgpack-1.2.10-x64-mingw32 ext/msgpack/extconf.rb
msgpack-1.2.10-x86-mingw32 ext/msgpack/extconf.rb
msgpack-1.2.10 ext/msgpack/extconf.rb
msgpack-1.2.9-x64-mingw32 ext/msgpack/extconf.rb
msgpack-1.2.9-x86-mingw32 ext/msgpack/extconf.rb
msgpack-1.2.9 ext/msgpack/extconf.rb