summaryrefslogtreecommitdiffhomepage
path: root/auto/lib/zlib
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2010-07-08 15:57:36 +0000
committerIgor Sysoev <igor@sysoev.ru>2010-07-08 15:57:36 +0000
commit59bb78b951973379360ca6ea798d3aeb09c747cc (patch)
treef2428ef76cfe51bd35c261998c75273700cdacba /auto/lib/zlib
parentdb0efa80522cd612b677972457038cb177a444a4 (diff)
downloadnginx-59bb78b951973379360ca6ea798d3aeb09c747cc.tar.gz
nginx-59bb78b951973379360ca6ea798d3aeb09c747cc.tar.bz2
stop ./configure on Win32 if no library sources was specified,
the bug has been introduced in r2894
Diffstat (limited to 'auto/lib/zlib')
-rw-r--r--auto/lib/zlib/conf7
1 files changed, 4 insertions, 3 deletions
diff --git a/auto/lib/zlib/conf b/auto/lib/zlib/conf
index e44aa3424..843dd5a55 100644
--- a/auto/lib/zlib/conf
+++ b/auto/lib/zlib/conf
@@ -57,8 +57,10 @@ else
CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
ZLIB=YES
ngx_found=no
- else
+ fi
+ fi
+ if [ $ZLIB != YES ]; then
cat << END
$0: error: the HTTP gzip module requires the zlib library.
@@ -67,8 +69,7 @@ option, or install the zlib library into the system, or build the zlib library
statically from the source with nginx by using --with-zlib=<path> option.
END
- exit 1
- fi
+ exit 1
fi
fi