Commit Graph

174 Commits

Author SHA1 Message Date
Yichun Zhang (agentzh) 6a17d2c784 bugfix: ./configure --prefix=PATH did not work when PATH is relative. also added experimental support for the MinGW MSYS environment on Win32. 2015-10-29 21:36:27 +08:00
Yichun Zhang (agentzh) c02caa3587 bugfix: ./configure --help: fixed the usage text for the --with-debug option. thanks Kipras Mancevičius for the report. 2015-07-15 23:50:23 +08:00
Yichun Zhang (agentzh) 87c988e4ba bugfix: link failures with openssl might happen on 64-bit Mac OS X when the ./configure option --with-pcre=PATH was used and the openssl source was recent enough. thanks grasses for the report in #3. 2015-07-10 12:16:06 +08:00
Yichun Zhang (agentzh) 97a05513eb removed the --with-rtsig_module option from the usage info of ./configure. 2015-07-04 15:27:26 +08:00
Yichun Zhang (agentzh) 7d0443d5d7 ./configure: added --with-threads to usage; also added --with-threads test to dist-check. 2015-07-03 23:23:41 +08:00
Yichun Zhang (agentzh) ffb5acf592 ./configure: fixed the --without-http_rewrite_module option by disabling NDK automatically; also automatically disable the ngx_encrypted_session module when NDK is disabled. 2015-06-23 22:34:02 +08:00
Yichun Zhang (agentzh) 1f7f6a31b2 bugfix: LuaJIT compilation might fail when old gcc 4 compilers are used (like gcc 4.1.0). this regression had appeared in OpenResty 1.7.7.2. thanks aseiot for the report in #85. 2015-03-11 15:18:14 -07:00
Yichun Zhang (agentzh) 795f52d06c ./configure: removed hacks to workaround an old bug in ngx_lua's build system (just recently fixed in ngx_lua). 2015-03-09 18:57:02 -07:00
Yichun Zhang (agentzh) 86ba1e09f4 ./configure: added --without-http_upstream_least_conn_module and --without-http_upstream_keepalive_module to the usage text (for --help) to reflect recent changes in the nginx core. thanks Seyhun Cavus for the report. 2015-02-09 11:49:13 -08:00
Yichun Zhang (agentzh) 2519cd7dd3 ./configure: renamed the --without-http_limit_zone_module option to --without-http_limit_conn_module to reflect the change in recent nginx cores. thanks Seyhun Cavus for the report. 2015-02-09 11:43:09 -08:00
Yichun Zhang (agentzh) 03b25469c8 feature: we bundle the resty-cli project to include its "resty" tool instead of using our own. 2014-12-29 14:49:08 -08:00
Yichun Zhang (agentzh) 065fb6db35 ./configure: usage text: renamed --with-luajit=PATH to --with-luajit=DIR. thanks Dominic for the suggestion in openresty/ngx_openresty#68. 2014-10-09 16:43:22 -07:00
Yichun Zhang (agentzh) 640108c6f5 ./configure: added the default prefix value to the usage text. 2014-10-07 11:52:12 -07:00
Yichun Zhang (agentzh) 0bfb73764e bugfix: we might misuse the homebrew version of LuaJIT on Mac OS X when the user specified the --with-ld-opt="-L/usr/local/lib". thanks Aapo Talvensaari for the report. 2014-08-30 15:12:46 -07:00
Yichun Zhang (agentzh) 399bdecaef feature: added new command-line utility, "resty", to run Lua code or Lua files (for OpenResty) directly from the command-line. it is installed into the "<prefix>/bin" directory. prodded by Vitaly Kosenko. 2014-08-20 14:58:58 -07:00
Yichun Zhang (agentzh) 88f0bdb2ae ./configure: call "sh" explicitly for nginx's ./configure script to prevent weird file permission issues as in #63. 2014-08-17 22:27:20 -07:00
Yichun Zhang (agentzh) c23007bcce optimize: now we use the C compiler option -O2 by default. 2014-07-29 15:12:12 -07:00
Yichun Zhang (agentzh) 6d854671b7 bugfix: "./configure --without-lua_resty_dns" did not work as declared. thanks Vitaly for the report in #61. 2014-07-09 11:32:49 -07:00
Yichun Zhang (agentzh) b1f221b066 change: "./configure --with-debug" now also pass the extra C compiler options -DNGX_LUA_USE_ASSERT -DNGX_LUA_ABORT_AT_PANIC for ngx_lua. 2014-07-04 18:57:47 -07:00
Yichun Zhang (agentzh) 9e5299a0d2 use cc as the default C compiler for luajit and lua C libraries. 2014-06-23 16:11:47 -07:00
Yichun Zhang (agentzh) bc3cb9243f feature: bundled new Lua library, lua-resty-lrucache, which is also enabled by default. 2014-05-31 22:15:40 -07:00
Yichun Zhang (agentzh) 4085b21eb8 updated tests to reflect recent changes. 2014-05-17 14:24:00 -07:00
Yichun Zhang (agentzh) 1e7d38d479 removed our bundled version of ngx_http_auth_request_module because recent versions of the nginx core already have it. thanks @LazyZhu for the report in #47. 2014-05-17 14:17:50 -07:00
Yichun Zhang (agentzh) 03eae9e632 updated the tests to reflect recent changes; also added the --without-http_lua_upstream_module option to the usage message of ./configure. 2014-03-12 16:08:40 -07:00
Yichun Zhang (agentzh) f8783f35b1 upgraded luajit to v2.1-20140305, lua-cjson to 2.1.0.1, lua-resty-core to 0.0.4, lua-resty-redis to 0.20, and ngx_lua to 0.9.5; bundled the ngx_lua_upstream module and the lua-resty-upstream-healthcheck library. 2014-03-12 16:02:20 -07:00
Yichun Zhang (agentzh) 35934abdb1 configure: added support for DragonFlyBSD. thanks @lhmwzy for the patch in #44. 2014-02-28 19:46:26 -08:00
Yichun Zhang (agentzh) f830a55d2d updated the usage info for ./configure to reflect recent changes. 2014-01-09 22:05:32 -08:00
Yichun Zhang (agentzh) 1c9f799fa6 now we default to LuaJIT instead of the standard Lua 5.1 interpreter. 2014-01-09 22:02:49 -08:00
Yichun Zhang (agentzh) 02614af5ed bugfix: the include path for LuaJIT headers was still pointing to luajit-2.0, which should have been luajit-2.1 instead. thanks Tor Hveem for the report. 2013-12-14 18:44:59 -08:00
Yichun Zhang (agentzh) b8bf7bbb4c feature: bundle the lua-resty-core library, which reimplements ngx_lua's Lua API with LuaJIT FFI. 2013-12-14 13:21:41 -08:00
Yichun Zhang (agentzh) 0528788543 feature: added new configure option --with-pcre-conf-opt=OPTIONS to the nginx core to allow custom PCRE ./configure build options. thanks Lance Li for the original patch in #39. 2013-12-10 10:19:00 -08:00
Yichun Zhang (agentzh) f0a2f6543e bundled the new lua-resty-lock library. 2013-09-27 15:42:33 -07:00
Yichun Zhang (agentzh) 937985fc03 bundled new library lua-resty-websocket. 2013-09-27 15:37:00 -07:00
Yichun Zhang (agentzh) e0d777bb5d ./configure: always remove exising Makefile before trying to generate a new one. 2013-09-08 20:57:08 -07:00
Yichun Zhang (agentzh) 6f31d3b261 bugfix: configure: spaces in the --with-cc option values resulted in errors. 2013-07-09 18:17:51 -07:00
agentzh (Yichun Zhang) 529f4c854c always enable debuginfo in the bundled LuaJIT 2.0 build and Lua 5.1 build to support Nginx Systemtap Toolkit. 2013-04-20 23:10:26 -07:00
agentzh (Yichun Zhang) ea1d378e84 change: no longer pass -O0 to gcc when --with-debug is specified because gcc often generates bogus DWARF info when optimization is disabled. 2013-04-20 18:16:13 -07:00
agentzh (Yichun Zhang) 1faf158381 bugfix: when relative paths are used in --with-zlib=DIR, --with-libatomic=DIR, --with-md5=DIR, and --with-sha1=DIR, the build system could not find DIR at all. thanks LazyZhu for reporting it in github issue #21. 2013-01-02 11:53:38 -08:00
agentzh (Yichun Zhang) b447ec474e bugfix: ./configure: --with-pcre=PATH did not accept relative path in PATH. thanks smallfish for reporting this issue. 2012-11-11 21:59:48 -08:00
agentzh (Yichun Zhang) b8bdf87799 now we add the ngx_srcache module before both ngx_header_more and ngx_lua, so that the former's output filter will run *after* those of the latter's. 2012-10-11 15:15:25 -07:00
agentzh (章亦春) 01a7c536a3 now we bundle and enable by default the new lua-resty-dns library. 2012-08-05 23:48:01 -07:00
agentzh (章亦春) 4367838ae4 added --with-dtrace-probes and --with-dtrace=PATH to the ./configure usgae output. 2012-07-30 14:48:13 -07:00
agentzh (章亦春) e17fa45a12 synchronized the ./configure option list from the official nginx 1.2.1. 2012-07-25 22:18:42 -07:00
agentzh (章亦春) 2a871e5740 upgraded the nginx core to 1.2.1. bumped the version of ngx_openresty to 1.2.1.1rc1. 2012-06-17 17:24:48 +08:00
agentzh (章亦春) 3f8ad8af58 added some tests for the new option --with-luajit-xcflags. 2012-05-14 13:48:48 +08:00
agentzh (章亦春) 4145db0b35 feature: added --with-luajit-xcflags option to ./configure. 2012-05-14 13:36:06 +08:00
agentzh (章亦春) e8990b7d03 upgraded LuaJIT to 2.0.0beta10. 2012-05-13 21:34:16 +08:00
agentzh (章亦春) 7c0c2cb944 now we bundle Sergey A. Osokin's ngx_http_redis2 module into ngx_openresty. 2012-05-12 15:04:43 +08:00
agentzh (章亦春) de5e5e25de bugfix: now we also add <openresty_prefix>/lualib/?/init.lua to the default LUA_PATH. thanks bigplum for reporting this issue. 2012-04-18 15:29:10 +08:00
agentzh (章亦春) ec23d93c0d no longer specify -DLUAJIT_USE_VALGRIND when --with-debug is specified. also upgraded lua-resty-* to their latest versions. 2012-02-29 15:16:10 +08:00
agentzh (章亦春) 367a5d8c5f bundle new components lua-resty-mysql, lua-resty-upload, and lua-resty-string, which are enabled by default. also added options --without-lua_resty_mysql, --without-lua_resty_upload, and --without-lua_resty_string to ./configure for disabling them. 2012-02-28 22:34:40 +08:00
agentzh (章亦春) d41cb7132c bundle new component lua-resty-redis which is enabled by default. also added option --without-lua_resty_redis to ./configure for disabling it. 2012-02-28 22:15:29 +08:00
agentzh (章亦春) 7c210171d1 bundle new component lua-resty-memcached which is enabled by default. also added option --without-lua_resty_memcached to ./configure for disabling it. also upgraded ngx_lua to 0.5.0rc16. 2012-02-28 22:05:01 +08:00
agentzh (章亦春) c528989ead now we enable -DLUAJIT_USE_VALGRIND -DLUA_USE_APICHECK -DLUA_USE_ASSERT flags for luajit when --with-debug is specified. 2012-02-22 23:33:56 +08:00
agentzh (章亦春) 67d50a58bf added ngx_coolkit to the bundle. 2012-02-07 20:17:20 +08:00
agentzh (章亦春) fb89742f47 Prepare for the ngx_openresty devel version 1.0.10
* upgraded ngx_lua to 0.4.0.
* upgraded ngx_encrypted_session to 0.02.
* bugfix: fixed issues with relative path DIR in --with-openssl=DIR.
2012-01-12 15:19:27 +08:00
agentzh (章亦春) 1bc8f9b8be bugfix: make the "install" phony target depend on the "all" phony target in the Makefile generated by ./configure. thanks Weibin Yao for reporting this issue. 2011-12-29 12:49:14 +08:00
agentzh (章亦春) af701e5b64 improved Yao Weibin's patch for the --add-module option a bit and also added a test case. 2011-12-29 11:14:10 +08:00
Weibin Yao 35afee967e support to add relative path module in configure 2011-12-29 10:56:44 +08:00
agentzh (章亦春) d0fc49168d bugfix: some old version of "cp" does not support trailing slashes in the destination argument and could break the ./configure script. thanks Weibin Yao for reporting it. 2011-12-16 14:50:02 +08:00
agentzh (章亦春) a5ac948dfe fixed the error message length while ./configure fails. 2011-11-15 12:03:24 +08:00
agentzh (章亦春) d33c4824f6 improved the missing gmake on BSD error message as per @lhmwzy. 2011-11-11 14:14:25 +08:00
agentzh (章亦春) 93f9f0762d now we require gmake for *BSD systems even if luajit is not enabled. thanks @lhmwzy. 2011-11-03 15:19:55 +08:00
agentzh (章亦春) b8be9ddfa7 updated patches/nginx-1.0.8-allow_request_body_updating.patch to fix the case when calling ngx_http_read_client_request_body after ngx_http_discard_request_body is called. 2011-10-21 21:55:17 +08:00
agentzh (章亦春) b0cfa8da4f add -DNGINX_ALLOW_REQUEST_BODY_UPDATING to CFLAGS if ngx_lua is enabled. 2011-10-21 20:43:55 +08:00
agentzh (章亦春) b5e945fb9f added new option -jN (e.g., -j8, -j10, and etc.) to ./configure; thanks @Lance. 2011-09-23 16:45:42 +08:00
agentzh (章亦春) 06091efe32 upgraded lua-cjson to 1.0.3; released ngx_openresty 1.0.6.9. 2011-09-19 12:33:03 +08:00
agentzh (章亦春) b11711a509 added the new option --with-lua51=PATH to the configure script. released ngx_openresty 1.0.6.7. 2011-09-18 13:23:44 +08:00
agentzh (章亦春) 733e37e053 added the --with-luajit=PATH option to ./configure per NginxUser's suggestion. 2011-09-18 13:06:57 +08:00
agentzh (章亦春) a979e3eaab now we bundle lua-rds-parser too :) 2011-08-31 13:57:49 +08:00
agentzh (章亦春) 907bf9f19e now we bundle the ngx_rds_csv module as well. 2011-08-31 13:12:44 +08:00
agentzh (章亦春) 030ffab7d2 now we bundle the lua-redis-parser library with us and it is enabled by default. tested on Linux i386, Linux x86_64, Mac OS X, FreeBSD 8.2 i386, and Solaris 11; added the new option --without-lua_redis_parser to the ./configure script; made the test scaffold emit .t_ file with actual outputs as the expected outputs; released ngx_openresty 1.0.5.0rc3. 2011-08-11 10:04:13 +08:00
agentzh (章亦春) a3dfc21c1a documented the --without-lua_cjson option in the ./configure usage output. released ngx_openresty 1.0.5.0rc2. 2011-08-10 18:14:18 +08:00
agentzh (章亦春) d283e90962 made lua-cjson honor the --with-debug option; updated the test suite to reflect recent changes. 2011-08-10 17:48:02 +08:00
agentzh (章亦春) 3aedf4d8e5 added -d option to util/install and also made the -m option optional. fixed compatibility issue on Solaris with lua-cjson: there is no isinf on Solaris 11. 2011-08-10 14:59:16 +08:00
agentzh (章亦春) 32ef993e05 more progress on lua-cjson bundling. it now works on Mac OS X, FreeBSD, and Linux, at least. 2011-08-10 10:44:17 +08:00
agentzh (章亦春) 6a75ebc5b0 lua-cjson is now bundled and enabled by default. it is working on Linux. 2011-08-09 23:46:50 +08:00
agentzh (章亦春) 843cb73393 now we bundle a perl script to serve as the install script for Solaris. now ngx_openresty 1.0.4.2rc13 builds successfully on Solaris 11 with LuaJIT enabled! 2011-08-08 15:56:33 +08:00
agentzh (章亦春) 1276fbdf48 bundled gcc's unwind-generic.h for BSD because unwind.h is missing at least on FreeBSD. released ngx_openresty 1.0.4.2rc12. 2011-08-08 13:27:32 +08:00
agentzh (章亦春) 5aa4947cb1 use absoluate paths in Makefile to prevent -jN chaos when using bsdmake. released ngx_openresty 1.0.4.2rc11. 2011-08-08 09:27:06 +08:00
agentzh (章亦春) a50e578d0e now we use gmake if it is avaialbe in PATH during ./configure; also added the --with-make=PATH option to allow the user to specify a custom make utility. released ngx_openresty 1.0.4.2rc9. 2011-08-07 11:27:58 +08:00
agentzh (章亦春) 23d0222ed3 we now use the CC variable instead of HOST_CC while passing the --with-cc option to the luajit build system. thanks @姜大炮 for reporting this issue. 2011-08-06 19:30:27 +08:00
agentzh (章亦春) 6431074de4 added the --with-pg_config option to ./configure script as per 罗翼's suggestion. released ngx_openresty 1.0.4.2rc6. 2011-08-05 15:21:58 +08:00
agentzh (章亦春) 2654f60c1b added the --with-no-pool-patch option to the ./configure script, to allow enabling the no-pool patch for debugging memory issues with valgrind, for example. released ngx_openresty 1.0.4.2rc5. 2011-08-05 10:04:23 +08:00
agentzh (章亦春) da11207dea added the --with-libpq=DIR option to the ./configure script. also released ngx_openresty 1.0.4.2rc4. 2011-08-04 20:34:15 +08:00
agentzh (章亦春) 5e2df4bb9a fixed a regression while specifying --with-http_iconv_module during ./configure. thanks 冯新国 for reporting this issue released ngx_openresty 1.0.4.2rc2. 2011-08-04 12:02:12 +08:00
agentzh (章亦春) 4004360b4c fixed a regression when enabling luajit in 1.0.4.1rc5. thanks @Lance. released ngx_openresty 1.0.4.1rc6. 2011-07-28 12:11:01 +08:00
agentzh (章亦春) 177e1bfcdf we do not specify TARGET_STRIP= when CCDEBUG is set to -g because it will make gmake crash. sigh. 2011-07-26 12:19:15 +08:00
agentzh (章亦春) 0bf8bbe040 upgraded ngx_iconv to 0.10rc3, ngx_form_input to 0.07rc5, ngx_array_var to 0.03rc1, and ngx_set_misc to 0.22rc1; now --with-debug option also affects luajit2.0; disabled target stripping in luajit2.0; released ngx_openresty 1.0.4.1rc5. 2011-07-26 11:56:29 +08:00
agentzh (章亦春) b7e7398fc9 now the --with-cc=CC option of ./configure also controls the C compiler used by Lua and LuaJIT. thanks @姜大炮 for reporting the issue; also released ngx_openresty 1.0.4.1rc3. 2011-07-23 12:37:44 +08:00
agentzh (章亦春) 68aac430ae upgraded ngx_lua to v0.2.1rc2 and ngx_redis2 to v0.07; also released ngx_openresty 1.0.4.1rc2. 2011-07-23 11:55:35 +08:00
agentzh (章亦春) 918e884175 Merge branch 'master' of github.com:agentzh/ngx_openresty 2011-07-14 11:43:19 +08:00
agentzh (章亦春) cbce5daa05 no longer enable gcc -O2 by default. -O2 hates backtraces. 2011-07-13 22:15:36 +08:00
agentzh (章亦春) ca408fc450 Config::Config is missing on CentOS 6 by default. sigh. fixed it by using ":" regardless the current OS. 2011-07-11 18:19:26 +08:00
agentzh (章亦春) c56e7e8165 we no longer depend on ExtUtils::MakeMaker because it is not perl's core module. thanks Lance for reporting this issue on CentOS 6. 2011-07-11 17:58:30 +08:00
agentzh (章亦春) 5a7890001b added --with-libdrizzle option to specify the (lib)drizzle installation prefix. now ngx_drizzle is disabled by default. you need to enable it via the --with-http_drizzle_module option. 2011-06-28 18:56:37 +08:00
agentzh (章亦春) 7fcf5e3e82 we no longer bundle libdrizzle because libdrizzle 1.0 is distributed with the drizzle server and hard to separate. 2011-06-28 18:35:10 +08:00
agentzh (章亦春) 0597fedf6e we should preserve timestamps when copying bundle/ to build/. 2011-06-27 21:11:08 +08:00
agentzh (章亦春) 04709aa2e6 ensure that ldconfig is in PATH on linux *and* luajit is enabled. 2011-06-10 21:31:20 +08:00
agentzh (章亦春) 439af7a93b updated tests to reflect recent changes. 2011-03-29 16:49:58 +08:00