unicorn.git  about / heads / tags
Rack HTTP server for Unix and fast clients
blob 1da02823e7719b79a7e55fdd89f7f03c2e39ff4f 426 bytes (raw)
$ git show jr/init:ext/unicorn_http/extconf.rb	# shows this blob on the CLI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
 
# -*- encoding: binary -*-
require 'mkmf'

have_macro("SIZEOF_OFF_T", "ruby.h") or check_sizeof("off_t", "sys/types.h")
have_macro("SIZEOF_SIZE_T", "ruby.h") or check_sizeof("size_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_hash_clear", "ruby.h") # Ruby 2.0+
have_func("gmtime_r", "time.h")

create_makefile("unicorn_http")

git clone https://yhbt.net/unicorn.git