about summary refs log tree commit homepage
path: root/ext/unicorn_http/extconf.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-08-02 12:30:34 -0700
committerEric Wong <normalperson@yhbt.net>2009-08-09 01:19:24 -0700
commit718d5e9b6c863e388984e641d36b6e6cbacd99c7 (patch)
tree085e61da552c5bfb62f6853cccb93ee927b90cca /ext/unicorn_http/extconf.rb
parent08e2c22210b62c1f513c23003d486aadc3452708 (diff)
downloadunicorn-718d5e9b6c863e388984e641d36b6e6cbacd99c7.tar.gz
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.
Diffstat (limited to 'ext/unicorn_http/extconf.rb')
-rw-r--r--ext/unicorn_http/extconf.rb3
1 files changed, 2 insertions, 1 deletions
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")