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 | 5ef8e0ee8933e914b1847168255b53f07c3727b3 (patch) | |
tree | f4e4b512d86a8a92eeb48c44e54db510660ea4fe /auto/modules/conf | |
parent | 1ba2f44ad9b95670452f31a0923b8a118a08d867 (diff) | |
download | unit-5ef8e0ee8933e914b1847168255b53f07c3727b3.tar.gz unit-5ef8e0ee8933e914b1847168255b53f07c3727b3.tar.bz2 |
Removing auto/modules directory before commiting the new module
configuration infrastructure.
Diffstat (limited to 'auto/modules/conf')
-rw-r--r-- | auto/modules/conf | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/auto/modules/conf b/auto/modules/conf deleted file mode 100644 index e4f68044..00000000 --- a/auto/modules/conf +++ /dev/null @@ -1,58 +0,0 @@ - -# Copyright (C) Valentin V. Bartenev -# Copyright (C) NGINX, Inc. - - -NXT_MODULES_INIT= -NXT_MODULES_SRCS= - - -if [ $NXT_PYTHON_MODULE != NO ]; then - . auto/modules/python/conf -fi - -if [ $NXT_PHP_MODULE != NO ]; then - . auto/modules/php/conf -fi - -if [ $NXT_GO_MODULE != NO ]; then - . auto/modules/go/conf -fi - - -NXT_MODULES_SRC=$NXT_BUILD_DIR/nxt_modules.c - - -cat << END > $NXT_MODULES_SRC - -#include <nxt_main.h> -#include <nxt_runtime.h> - - -END - - -for nxt_init in $NXT_MODULES_INIT -do - $echo "extern nxt_int_t $nxt_init(nxt_thread_t *thr, nxt_runtime_t *rt);" \ - >> $NXT_MODULES_SRC -done - - -cat << END >> $NXT_MODULES_SRC - - -nxt_module_init_t nxt_init_modules[] = { -END - -for nxt_init in $NXT_MODULES_INIT -do - $echo " $nxt_init," >> $NXT_MODULES_SRC -done - -cat << END >> $NXT_MODULES_SRC -}; - - -nxt_uint_t nxt_init_modules_n = nxt_nitems(nxt_init_modules); -END |