diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-08-17 21:47:19 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-08-17 21:47:19 +0300 |
commit | 949548da293fa30ef200d07c3e4ff108174404b7 (patch) | |
tree | 8f03eaad277ec558f9ce2f223db350d134532e4b /auto/options | |
parent | 5ef8e0ee8933e914b1847168255b53f07c3727b3 (diff) | |
download | unit-949548da293fa30ef200d07c3e4ff108174404b7.tar.gz unit-949548da293fa30ef200d07c3e4ff108174404b7.tar.bz2 |
The new module configuration interface.
Configuration and building example:
./configure
./configure python
./configure php
./configure go
make all
or
./configure
make nginext
./configure python
make python
./configure php
make php
./configure go
make go
Modules configuration options and building examples:
./configure python --module=python2 --config=python2.7-config
make python2
./configure php --module=php7 --config=php7.0-config
--lib-path=/usr/local/php7.0
make php7
./configure go --go=go1.6 --go-path=${HOME}/go1.6
make go1.6
Diffstat (limited to '')
-rw-r--r-- | auto/options | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/auto/options b/auto/options index 594a5ab8..5e402524 100644 --- a/auto/options +++ b/auto/options @@ -41,16 +41,6 @@ NXT_TEST_BUILD_HPUX_SENDFILE=NO NXT_LIB_UNIT_TEST=NO -NXT_PYTHON=python -NXT_PYTHON_MODULE=NO - -NXT_PHP=php -NXT_PHP_LDFLAGS= -NXT_PHP_MODULE=NO - -NXT_GO=go -NXT_GO_MODULE=NO - for nxt_option do case "$nxt_option" in @@ -96,16 +86,6 @@ do --with-lib-unit-tests) NXT_LIB_UNIT_TEST=YES ;; - --with-python=*) NXT_PYTHON="$value" ;; - --with-python_module) NXT_PYTHON_MODULE=YES ;; - - --with-php=*) NXT_PHP="$value" ;; - --with-php-ldflags=*) NXT_PHP_LDFLAGS="$value" ;; - --with-php_module) NXT_PHP_MODULE=YES ;; - - --with-go=*) NXT_GO="$value" ;; - --with-go_module) NXT_GO_MODULE=YES ;; - *) $echo $echo "$0: error: invalid option \"$nxt_option\"". |