From 718d5e9b6c863e388984e641d36b6e6cbacd99c7 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 2 Aug 2009 12:30:34 -0700 Subject: unicorn_http: add helpful macros We'll be needing the UH_OFF_T_MAX define for the chunked body handling and rb_str_set_len may be needed as well. --- ext/unicorn_http/extconf.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ext/unicorn_http/extconf.rb') diff --git a/ext/unicorn_http/extconf.rb b/ext/unicorn_http/extconf.rb index 29d9334..39bd510 100644 --- a/ext/unicorn_http/extconf.rb +++ b/ext/unicorn_http/extconf.rb @@ -1,5 +1,6 @@ require 'mkmf' dir_config("unicorn_http") -have_library("c", "main") +check_sizeof("off_t", "sys/types.h") +have_func("rb_str_set_len", "ruby.h") create_makefile("unicorn_http") -- cgit v1.2.3-24-ge0c7