summaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-10-18 18:05:51 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-10-18 18:05:51 +0300
commit3c6edead2562450861cc938268f4a848b7e4deab (patch)
treeb25d5668c336468095731ff201d820b8b9de81ff /configure
parent67c066b026c965729b70879a490ed118c5a170b9 (diff)
downloadunit-3c6edead2562450861cc938268f4a848b7e4deab.tar.gz
unit-3c6edead2562450861cc938268f4a848b7e4deab.tar.bz2
Added the debug option to module compatibility vector.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 10 insertions, 1 deletions
diff --git a/configure b/configure
index e9ae6378..3608130d 100755
--- a/configure
+++ b/configure
@@ -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