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
This commit is contained in:
20
auto/options
20
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\"".
|
||||
|
||||
Reference in New Issue
Block a user