diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-10-18 18:05:51 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-10-18 18:05:51 +0300 |
commit | 3c6edead2562450861cc938268f4a848b7e4deab (patch) | |
tree | b25d5668c336468095731ff201d820b8b9de81ff /configure | |
parent | 67c066b026c965729b70879a490ed118c5a170b9 (diff) | |
download | unit-3c6edead2562450861cc938268f4a848b7e4deab.tar.gz unit-3c6edead2562450861cc938268f4a848b7e4deab.tar.bz2 |
Added the debug option to module compatibility vector.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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 |