From 949548da293fa30ef200d07c3e4ff108174404b7 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 17 Aug 2017 21:47:19 +0300 Subject: 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 --- auto/save | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 auto/save (limited to 'auto/save') diff --git a/auto/save b/auto/save new file mode 100644 index 00000000..d295ad8b --- /dev/null +++ b/auto/save @@ -0,0 +1,24 @@ + +# Copyright (C) Igor Sysoev +# Copyright (C) NGINX, Inc. + + +cat << END > $NXT_AUTOCONF_DATA + +CC='$CC' +CFLAGS='$CFLAGS' + +NXT_CFLAGS='$NXT_CFLAGS' +NXT_CC_OPT='$NXT_CC_OPT' +NXT_LD_OPT='$NXT_LD_OPT' +NXT_MODULE_LINK='$NXT_MODULE_LINK' + +NXT_TEST_CFLAGS='$NXT_TEST_CFLAGS' +NXT_TEST_LIBS='$NXT_TEST_LIBS' + +echo=$NXT_BUILD_DIR/echo + +NXT_LIB_AUX_CFLAGS= +NXT_LIB_AUX_LIBS= + +END -- cgit