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'],

View File

@ -78,7 +78,7 @@ mv chaoslawful-drizzle-nginx-module-* drizzle-nginx-module-$ver || exit 1
#################################
ver=0.1.6rc2
ver=0.1.6rc3
$root/util/get-tarball "http://github.com/chaoslawful/lua-nginx-module/tarball/v$ver" -O lua-nginx-module-$ver.tar.gz || exit 1
tar -xzf lua-nginx-module-$ver.tar.gz || exit 1
mv chaoslawful-lua-nginx-module-* ngx_lua-$ver || exit 1

View File

@ -1,7 +1,7 @@
#!/bin/bash
main_ver=0.8.54
minor_ver=3rc2
minor_ver=3rc4
version=$main_ver.$minor_ver
echo $version