1 # -*- encoding: binary -*-
4 dir_config("unicorn_http")
6 have_macro("SIZEOF_OFF_T", "ruby.h") or check_sizeof("off_t", "sys/types.h")
7 have_macro("SIZEOF_LONG", "ruby.h") or check_sizeof("long", "sys/types.h")
8 have_func("rb_str_set_len", "ruby.h")
9 have_func("rb_str_modify", "ruby.h")
11 # -fPIC is needed for Rubinius, MRI already uses it regardless
12 with_cflags($CFLAGS + " -fPIC ") do
13 create_makefile("unicorn_http")