now we upgrade to ngx_lua v0.1.6rc3 to support mac os x 64-bit better and make configure script detect macosx for darwin system correctly.

This commit is contained in:
agentzh (章亦春)
2011-03-29 16:29:17 +08:00
parent 2a69e79c08
commit 96f79efed5
3 changed files with 5 additions and 3 deletions

4
util/configure vendored
View File

@ -37,7 +37,7 @@ if ($OS =~ /solaris|sunos/i) {
} elsif ($OS eq 'MSWin32') {
die "MS Windows not supported. Abort.\n";
} elsif ($OS =~ /^(?:MacOS|rhapsody)$/) {
} elsif ($OS =~ /^(?:MacOS|darwin|rhapsody)$/) {
$platform = 'macosx';
} elsif ($OS eq 'freebsd') {
@ -50,6 +50,8 @@ if ($OS =~ /solaris|sunos/i) {
$platform = 'posix';
}
warn "Platform: $platform ($OS)\n";
my @modules = (
[http_iconv => 'iconv-nginx-module', 'disabled'],
[http_echo => 'echo-nginx-module'],