comparison auto/lib/conf @ 6383:85dea406e18f

Dynamic modules. The auto/module script is extended to understand ngx_module_link=DYNAMIC. When set, it links the module as a shared object rather than statically into nginx binary. The module can later be loaded using the "load_module" directive. New auto/module parameter ngx_module_order allows to define module loading order in complex cases. By default the order is set based on ngx_module_type. 3rd party modules can be compiled dynamically using the --add-dynamic-module configure option, which will preset ngx_module_link to "DYNAMIC" before calling the module config script. Win32 support is rudimentary, and only works when using MinGW gcc (which is able to handle exports/imports automatically). In collaboration with Ruslan Ermilov.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 04 Feb 2016 20:25:29 +0300
parents d620f497c50f
children 39a806ccf21e
comparison
equal deleted inserted replaced
6382:392959224560 6383:85dea406e18f
56 56
57 if [ $USE_ZLIB = YES ]; then 57 if [ $USE_ZLIB = YES ]; then
58 . auto/lib/zlib/conf 58 . auto/lib/zlib/conf
59 fi 59 fi
60 60
61 if [ $USE_LIBXSLT = YES ]; then 61 if [ $USE_LIBXSLT != NO ]; then
62 . auto/lib/libxslt/conf 62 . auto/lib/libxslt/conf
63 fi 63 fi
64 64
65 if [ $USE_LIBGD = YES ]; then 65 if [ $USE_LIBGD != NO ]; then
66 . auto/lib/libgd/conf 66 . auto/lib/libgd/conf
67 fi 67 fi
68 68
69 if [ $USE_PERL = YES ]; then 69 if [ $USE_PERL = YES ]; then
70 . auto/lib/perl/conf 70 . auto/lib/perl/conf
71 fi 71 fi
72 72
73 if [ $HTTP_GEOIP = YES ]; then 73 if [ $USE_GEOIP != NO ]; then
74 . auto/lib/geoip/conf 74 . auto/lib/geoip/conf
75 fi 75 fi
76 76
77 if [ $NGX_GOOGLE_PERFTOOLS = YES ]; then 77 if [ $NGX_GOOGLE_PERFTOOLS = YES ]; then
78 . auto/lib/google-perftools/conf 78 . auto/lib/google-perftools/conf