Added the debug option to module compatibility vector.
This commit is contained in:
11
configure
vendored
11
configure
vendored
@@ -134,9 +134,18 @@ esac
|
||||
|
||||
|
||||
if [ $NXT_DEBUG = YES ]; then
|
||||
nxt_have=NXT_DEBUG . auto/have
|
||||
nxt_debug=1
|
||||
else
|
||||
nxt_debug=0
|
||||
fi
|
||||
|
||||
cat << END >> $NXT_AUTO_CONFIG_H
|
||||
|
||||
#ifndef NXT_DEBUG
|
||||
#define NXT_DEBUG $nxt_debug
|
||||
#endif
|
||||
|
||||
END
|
||||
|
||||
. auto/test_build
|
||||
. auto/sources
|
||||
|
||||
@@ -39,7 +39,7 @@ static nxt_application_module_t *nxt_app;
|
||||
|
||||
|
||||
static uint32_t compat[] = {
|
||||
NXT_VERNUM,
|
||||
NXT_VERNUM, NXT_DEBUG,
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -168,7 +168,7 @@ nxt_php_str_trim_lead(nxt_str_t *str, u_char t)
|
||||
}
|
||||
|
||||
static uint32_t compat[] = {
|
||||
NXT_VERNUM,
|
||||
NXT_VERNUM, NXT_DEBUG,
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -92,7 +92,7 @@ nxt_inline nxt_int_t nxt_python_write_py_str(nxt_python_run_ctx_t *ctx,
|
||||
|
||||
|
||||
static uint32_t compat[] = {
|
||||
NXT_VERNUM,
|
||||
NXT_VERNUM, NXT_DEBUG,
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user