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-07-05 15:46:52 -0700
committerEric Wong <normalperson@yhbt.net>2009-07-15 01:17:39 -0700
commita0f2c4514e969d0a127227201cbdb8e57f71df63 (patch)
treeb88fef09c90f2df707c703dddecad27ab46aed77 /ext/unicorn_http/extconf.rb
parentd3dd9cd839b85d92e2080ba10ed38c58d96a6e9d (diff)
downloadunicorn-a0f2c4514e969d0a127227201cbdb8e57f71df63.tar.gz
Rename unicorn/http11 => unicorn_http
We couldn't do proper namespacing for the C module so there was
a potential conflict with Init_http11() in Mongrel.  This was
needed because Mongrel's HTTP parser could be used in some
applications and we may be unfortunate enough need to support
them.
Diffstat (limited to 'ext/unicorn_http/extconf.rb')
-rw-r--r--ext/unicorn_http/extconf.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/unicorn_http/extconf.rb b/ext/unicorn_http/extconf.rb
new file mode 100644
index 0000000..29d9334
--- /dev/null
+++ b/ext/unicorn_http/extconf.rb
@@ -0,0 +1,5 @@
+require 'mkmf'
+
+dir_config("unicorn_http")
+have_library("c", "main")
+create_makefile("unicorn_http")