summaryrefslogtreecommitdiffhomepage
path: root/auto/lib/zlib/conf
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--auto/lib/zlib/conf4
1 files changed, 3 insertions, 1 deletions
diff --git a/auto/lib/zlib/conf b/auto/lib/zlib/conf
index b8bbade0e..60fd8d880 100644
--- a/auto/lib/zlib/conf
+++ b/auto/lib/zlib/conf
@@ -1,5 +1,5 @@
-if [ $ZLIB != NO ]; then
+if [ $ZLIB != NONE ]; then
CORE_INCS="$CORE_INCS -I $ZLIB"
if [ "$PLATFORM" = "win32" ]; then
@@ -23,6 +23,8 @@ else
if [ $ngx_found = yes ]; then
CORE_LIBS="$CORE_LIBS $ngx_libs"
ZLIB=YES
+ else
+ ZLIB=NO
fi
fi