CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
MD5=YES
MD5_LIB=$ngx_md5_lib
- else
+ fi
+ fi
+ if [ $MD5 != YES ]; then
cat << END
$0: error: the HTTP cache module requires md5 functions
--with-http_ssl_module --with-openssl=<path> options.
END
- exit 1
- fi
-
+ exit 1
fi
fi
have=NGX_SSL . auto/have
CORE_LIBS="$CORE_LIBS $ngx_feature_libs $NGX_LIBDL"
OPENSSL=YES
- else
+ fi
+ fi
+
+ if [ $OPENSSL != YES ]; then
cat << END
with nginx by using --with-openssl=<path> option.
END
- exit 1
- fi
+ exit 1
fi
fi
CORE_INCS="$CORE_INCS $ngx_feature_path"
CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
PCRE=YES
- else
+ fi
+ fi
+ if [ $PCRE != YES ]; then
cat << END
$0: error: the HTTP rewrite module requires the PCRE library.
statically from the source with nginx by using --with-pcre=<path> option.
END
- exit 1
-
- fi
-
+ exit 1
fi
+
fi
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.
statically from the source with nginx by using --with-zlib=<path> option.
END
- exit 1
- fi
+ exit 1
fi
fi
case $PCRE in
YES) echo " + using system PCRE library" ;;
NONE) echo " + PCRE library is not used" ;;
- NO) echo " + PCRE library is not found" ;;
*) echo " + using PCRE library: $PCRE" ;;
esac
fi
case $OPENSSL in
YES) echo " + using system OpenSSL library" ;;
NONE) echo " + OpenSSL library is not used" ;;
- NO) echo " + OpenSSL library is not found" ;;
*) echo " + using OpenSSL library: $OPENSSL" ;;
esac
case $MD5 in
YES) echo " + md5: using $MD5_LIB library" ;;
NONE) echo " + md5 library is not used" ;;
- NO) echo " + md5 library is not found" ;;
*) echo " + using md5 library: $MD5" ;;
esac
case $ZLIB in
YES) echo " + using system zlib library" ;;
NONE) echo " + zlib library is not used" ;;
- NO) echo " + zlib library is not found" ;;
*) echo " + using zlib library: $ZLIB" ;;
esac