mirror of
https://github.com/nginx/nginx.git
synced 2025-06-08 02:02:38 +08:00
stop ./configure on Win32 if no library sources was specified,
the bug has been introduced in r2894
This commit is contained in:
parent
db0efa8052
commit
59bb78b951
@ -94,8 +94,10 @@ else
|
|||||||
CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
|
CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
|
||||||
MD5=YES
|
MD5=YES
|
||||||
MD5_LIB=$ngx_md5_lib
|
MD5_LIB=$ngx_md5_lib
|
||||||
else
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ $MD5 != YES ]; then
|
||||||
cat << END
|
cat << END
|
||||||
|
|
||||||
$0: error: the HTTP cache module requires md5 functions
|
$0: error: the HTTP cache module requires md5 functions
|
||||||
@ -108,6 +110,4 @@ END
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
fi
|
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
@ -54,7 +54,10 @@ else
|
|||||||
have=NGX_SSL . auto/have
|
have=NGX_SSL . auto/have
|
||||||
CORE_LIBS="$CORE_LIBS $ngx_feature_libs $NGX_LIBDL"
|
CORE_LIBS="$CORE_LIBS $ngx_feature_libs $NGX_LIBDL"
|
||||||
OPENSSL=YES
|
OPENSSL=YES
|
||||||
else
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ $OPENSSL != YES ]; then
|
||||||
|
|
||||||
cat << END
|
cat << END
|
||||||
|
|
||||||
@ -66,6 +69,5 @@ with nginx by using --with-openssl=<path> option.
|
|||||||
END
|
END
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
@ -161,8 +161,10 @@ else
|
|||||||
CORE_INCS="$CORE_INCS $ngx_feature_path"
|
CORE_INCS="$CORE_INCS $ngx_feature_path"
|
||||||
CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
|
CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
|
||||||
PCRE=YES
|
PCRE=YES
|
||||||
else
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ $PCRE != YES ]; then
|
||||||
cat << END
|
cat << END
|
||||||
|
|
||||||
$0: error: the HTTP rewrite module requires the PCRE library.
|
$0: error: the HTTP rewrite module requires the PCRE library.
|
||||||
@ -172,8 +174,6 @@ statically from the source with nginx by using --with-pcre=<path> option.
|
|||||||
|
|
||||||
END
|
END
|
||||||
exit 1
|
exit 1
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
@ -57,8 +57,10 @@ else
|
|||||||
CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
|
CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
|
||||||
ZLIB=YES
|
ZLIB=YES
|
||||||
ngx_found=no
|
ngx_found=no
|
||||||
else
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ $ZLIB != YES ]; then
|
||||||
cat << END
|
cat << END
|
||||||
|
|
||||||
$0: error: the HTTP gzip module requires the zlib library.
|
$0: error: the HTTP gzip module requires the zlib library.
|
||||||
@ -69,6 +71,5 @@ statically from the source with nginx by using --with-zlib=<path> option.
|
|||||||
END
|
END
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
@ -38,7 +38,6 @@ else
|
|||||||
case $PCRE in
|
case $PCRE in
|
||||||
YES) echo " + using system PCRE library" ;;
|
YES) echo " + using system PCRE library" ;;
|
||||||
NONE) echo " + PCRE library is not used" ;;
|
NONE) echo " + PCRE library is not used" ;;
|
||||||
NO) echo " + PCRE library is not found" ;;
|
|
||||||
*) echo " + using PCRE library: $PCRE" ;;
|
*) echo " + using PCRE library: $PCRE" ;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
@ -46,14 +45,12 @@ fi
|
|||||||
case $OPENSSL in
|
case $OPENSSL in
|
||||||
YES) echo " + using system OpenSSL library" ;;
|
YES) echo " + using system OpenSSL library" ;;
|
||||||
NONE) echo " + OpenSSL library is not used" ;;
|
NONE) echo " + OpenSSL library is not used" ;;
|
||||||
NO) echo " + OpenSSL library is not found" ;;
|
|
||||||
*) echo " + using OpenSSL library: $OPENSSL" ;;
|
*) echo " + using OpenSSL library: $OPENSSL" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case $MD5 in
|
case $MD5 in
|
||||||
YES) echo " + md5: using $MD5_LIB library" ;;
|
YES) echo " + md5: using $MD5_LIB library" ;;
|
||||||
NONE) echo " + md5 library is not used" ;;
|
NONE) echo " + md5 library is not used" ;;
|
||||||
NO) echo " + md5 library is not found" ;;
|
|
||||||
*) echo " + using md5 library: $MD5" ;;
|
*) echo " + using md5 library: $MD5" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@ -67,7 +64,6 @@ esac
|
|||||||
case $ZLIB in
|
case $ZLIB in
|
||||||
YES) echo " + using system zlib library" ;;
|
YES) echo " + using system zlib library" ;;
|
||||||
NONE) echo " + zlib library is not used" ;;
|
NONE) echo " + zlib library is not used" ;;
|
||||||
NO) echo " + zlib library is not found" ;;
|
|
||||||
*) echo " + using zlib library: $ZLIB" ;;
|
*) echo " + using zlib library: $ZLIB" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user