unicorn.git  about / heads / tags
Rack HTTP server for Unix and fast clients
blob 00328be7e132614de4b732411a026387fb394a47 406 bytes (raw)
$ git show v0.92.0:ext/unicorn_http/extconf.rb	# shows this blob on the CLI

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

$CFLAGS += " -fPIC " # needed for Rubinius, MRI already uses it regardless

dir_config("unicorn_http")

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")
create_makefile("unicorn_http")

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