./configure: usage text: renamed --with-luajit=PATH to --with-luajit=DIR. thanks Dominic for the suggestion in openresty/ngx_openresty#68.

This commit is contained in:
Yichun Zhang (agentzh) 2014-10-09 16:43:22 -07:00
parent 0aeef4f31a
commit 065fb6db35
2 changed files with 10 additions and 10 deletions

View File

@ -15,7 +15,7 @@ __DATA__
--- out
--help this message
--prefix=PATH set the installation prefix
--prefix=PATH set the installation prefix (default to /usr/local/openresty).
--with-debug enable the debugging logging and also enable -O0 -g for the C compiler.
this not only affects nginx, but also other components.
@ -69,9 +69,9 @@ __DATA__
--with-lua51 enable and build the bundled standard Lua 5.1 interpreter
--without-lua51 disable the bundled standard Lua 5.1 interpreter
--with-lua51=PATH specify the external installation of Lua 5.1 by PATH
--with-lua51=DIR specify the external installation of Lua 5.1 by DIR
--with-luajit enable and build the bundled LuaJIT 2.1 (the default)
--with-luajit=PATH use the external LuaJIT 2.1 installation specified by PATH
--with-luajit=DIR use the external LuaJIT 2.1 installation specified by DIR
--with-luajit-xcflags=FLAGS Specify extra C compiler flags for LuaJIT 2.1
--with-libdrizzle=DIR specify the libdrizzle 1.0 (or drizzle) installation prefix
--with-libpq=DIR specify the libpq (or postgresql) installation prefix
@ -855,7 +855,7 @@ clean:
--- out
--help this message
--prefix=PATH set the installation prefix
--prefix=PATH set the installation prefix (default to /usr/local/openresty).
--with-debug enable the debugging logging and also enable -O0 -g for the C compiler.
this not only affects nginx, but also other components.
@ -909,9 +909,9 @@ clean:
--with-lua51 enable and build the bundled standard Lua 5.1 interpreter
--without-lua51 disable the bundled standard Lua 5.1 interpreter
--with-lua51=PATH specify the external installation of Lua 5.1 by PATH
--with-lua51=DIR specify the external installation of Lua 5.1 by DIR
--with-luajit enable and build the bundled LuaJIT 2.1 (the default)
--with-luajit=PATH use the external LuaJIT 2.1 installation specified by PATH
--with-luajit=DIR use the external LuaJIT 2.1 installation specified by DIR
--with-luajit-xcflags=FLAGS Specify extra C compiler flags for LuaJIT 2.1
--with-libdrizzle=DIR specify the libdrizzle 1.0 (or drizzle) installation prefix
--with-libpq=DIR specify the libpq (or postgresql) installation prefix
@ -2780,7 +2780,7 @@ clean:
platform: linux (linux)
--- err
--with-luajit and --with-luajit=PATH are mutually exclusive.
--with-luajit and --with-luajit=DIR are mutually exclusive.
--- exit: 2

6
util/configure vendored
View File

@ -423,7 +423,7 @@ _END_
}
if ($opts->{luajit} && $opts->{luajit_path}) {
die "--with-luajit and --with-luajit=PATH are mutually exclusive.\n";
die "--with-luajit and --with-luajit=DIR are mutually exclusive.\n";
}
if ($opts->{no_http_ssl} && $opts->{http_ssl}) {
@ -961,9 +961,9 @@ _EOC_
--with-lua51 enable and build the bundled standard Lua 5.1 interpreter
--without-lua51 disable the bundled standard Lua 5.1 interpreter
--with-lua51=PATH specify the external installation of Lua 5.1 by PATH
--with-lua51=DIR specify the external installation of Lua 5.1 by DIR
--with-luajit enable and build the bundled LuaJIT 2.1 (the default)
--with-luajit=PATH use the external LuaJIT 2.1 installation specified by PATH
--with-luajit=DIR use the external LuaJIT 2.1 installation specified by DIR
--with-luajit-xcflags=FLAGS Specify extra C compiler flags for LuaJIT 2.1
--with-libdrizzle=DIR specify the libdrizzle 1.0 (or drizzle) installation prefix
--with-libpq=DIR specify the libpq (or postgresql) installation prefix