aboutsummaryrefslogtreecommitdiffstats
path: root/app/nginx/auto/lib
diff options
context:
space:
mode:
Diffstat (limited to 'app/nginx/auto/lib')
-rw-r--r--app/nginx/auto/lib/conf54
-rw-r--r--app/nginx/auto/lib/geoip/conf97
-rw-r--r--app/nginx/auto/lib/google-perftools/conf61
-rw-r--r--app/nginx/auto/lib/libatomic/conf43
-rw-r--r--app/nginx/auto/lib/libatomic/make16
-rw-r--r--app/nginx/auto/lib/libgd/conf93
-rw-r--r--app/nginx/auto/lib/libxslt/conf165
-rw-r--r--app/nginx/auto/lib/make24
-rw-r--r--app/nginx/auto/lib/openssl/conf135
-rw-r--r--app/nginx/auto/lib/openssl/make62
-rw-r--r--app/nginx/auto/lib/openssl/makefile.bcc18
-rw-r--r--app/nginx/auto/lib/openssl/makefile.msvc21
-rw-r--r--app/nginx/auto/lib/pcre/conf203
-rw-r--r--app/nginx/auto/lib/pcre/make64
-rw-r--r--app/nginx/auto/lib/pcre/makefile.bcc27
-rw-r--r--app/nginx/auto/lib/pcre/makefile.msvc23
-rw-r--r--app/nginx/auto/lib/pcre/makefile.owc25
-rw-r--r--app/nginx/auto/lib/perl/conf83
-rw-r--r--app/nginx/auto/lib/perl/make46
-rw-r--r--app/nginx/auto/lib/zlib/conf79
-rw-r--r--app/nginx/auto/lib/zlib/make135
-rw-r--r--app/nginx/auto/lib/zlib/makefile.bcc17
-rw-r--r--app/nginx/auto/lib/zlib/makefile.msvc17
-rw-r--r--app/nginx/auto/lib/zlib/makefile.owc14
24 files changed, 0 insertions, 1522 deletions
diff --git a/app/nginx/auto/lib/conf b/app/nginx/auto/lib/conf
deleted file mode 100644
index 0b8545a..0000000
--- a/app/nginx/auto/lib/conf
+++ /dev/null
@@ -1,54 +0,0 @@
-
-# Copyright (C) Igor Sysoev
-# Copyright (C) Nginx, Inc.
-
-
-if [ $USE_PCRE = YES -o $PCRE != NONE ]; then
- . auto/lib/pcre/conf
-
-else
- if [ $USE_PCRE = DISABLED -a $HTTP_REWRITE = YES ]; then
-
-cat << END
-
-$0: error: the HTTP rewrite module requires the PCRE library.
-You can either disable the module by using --without-http_rewrite_module
-option or you have to enable the PCRE support.
-
-END
- exit 1
- fi
-fi
-
-
-if [ $USE_OPENSSL = YES ]; then
- . auto/lib/openssl/conf
-fi
-
-if [ $USE_ZLIB = YES ]; then
- . auto/lib/zlib/conf
-fi
-
-if [ $USE_LIBXSLT != NO ]; then
- . auto/lib/libxslt/conf
-fi
-
-if [ $USE_LIBGD != NO ]; then
- . auto/lib/libgd/conf
-fi
-
-if [ $USE_PERL != NO ]; then
- . auto/lib/perl/conf
-fi
-
-if [ $USE_GEOIP != NO ]; then
- . auto/lib/geoip/conf
-fi
-
-if [ $NGX_GOOGLE_PERFTOOLS = YES ]; then
- . auto/lib/google-perftools/conf
-fi
-
-if [ $NGX_LIBATOMIC != NO ]; then
- . auto/lib/libatomic/conf
-fi
diff --git a/app/nginx/auto/lib/geoip/conf b/app/nginx/auto/lib/geoip/conf
deleted file mode 100644
index 8302aae..0000000
--- a/app/nginx/auto/lib/geoip/conf
+++ /dev/null
@@ -1,97 +0,0 @@
-
-# Copyright (C) Igor Sysoev
-# Copyright (C) Nginx, Inc.
-
-
- ngx_feature="GeoIP library"
- ngx_feature_name=
- ngx_feature_run=no
- ngx_feature_incs="#include <GeoIP.h>"
- ngx_feature_path=
- ngx_feature_libs="-lGeoIP"
- ngx_feature_test="GeoIP_open(NULL, 0)"
- . auto/feature
-
-
-if [ $ngx_found = no ]; then
-
- # FreeBSD port
-
- ngx_feature="GeoIP library in /usr/local/"
- ngx_feature_path="/usr/local/include"
-
- if [ $NGX_RPATH = YES ]; then
- ngx_feature_libs="-R/usr/local/lib -L/usr/local/lib -lGeoIP"
- else
- ngx_feature_libs="-L/usr/local/lib -lGeoIP"
- fi
-
- . auto/feature
-fi
-
-
-if [ $ngx_found = no ]; then
-
- # NetBSD port
-
- ngx_feature="GeoIP library in /usr/pkg/"
- ngx_feature_path="/usr/pkg/include"
-
- if [ $NGX_RPATH = YES ]; then
- ngx_feature_libs="-R/usr/pkg/lib -L/usr/pkg/lib -lGeoIP"
- else
- ngx_feature_libs="-L/usr/pkg/lib -lGeoIP"
- fi
-
- . auto/feature
-fi
-
-
-if [ $ngx_found = no ]; then
-
- # MacPorts
-
- ngx_feature="GeoIP library in /opt/local/"
- ngx_feature_path="/opt/local/include"
-
- if [ $NGX_RPATH = YES ]; then
- ngx_feature_libs="-R/opt/local/lib -L/opt/local/lib -lGeoIP"
- else
- ngx_feature_libs="-L/opt/local/lib -lGeoIP"
- fi
-
- . auto/feature
-fi
-
-
-if [ $ngx_found = yes ]; then
-
- CORE_INCS="$CORE_INCS $ngx_feature_path"
-
- if [ $USE_GEOIP = YES ]; then
- CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
- fi
-
- NGX_LIB_GEOIP=$ngx_feature_libs
-
- ngx_feature="GeoIP IPv6 support"
- ngx_feature_name="NGX_HAVE_GEOIP_V6"
- ngx_feature_run=no
- ngx_feature_incs="#include <stdio.h>
- #include <GeoIP.h>"
- #ngx_feature_path=
- #ngx_feature_libs=
- ngx_feature_test="printf(\"%d\", GEOIP_CITY_EDITION_REV0_V6);"
- . auto/feature
-
-else
-
-cat << END
-
-$0: error: the GeoIP module requires the GeoIP library.
-You can either do not enable the module or install the library.
-
-END
-
- exit 1
-fi
diff --git a/app/nginx/auto/lib/google-perftools/conf b/app/nginx/auto/lib/google-perftools/conf
deleted file mode 100644
index 5d5ddae..0000000
--- a/app/nginx/auto/lib/google-perftools/conf
+++ /dev/null
@@ -1,61 +0,0 @@
-
-# Copyright (C) Igor Sysoev
-# Copyright (C) Nginx, Inc.
-
-
- ngx_feature="Google perftools"
- ngx_feature_name=
- ngx_feature_run=no
- ngx_feature_incs=
- ngx_feature_path=
- ngx_feature_libs="-lprofiler"
- ngx_feature_test="ProfilerStop()"
- . auto/feature
-
-
-if [ $ngx_found = no ]; then
-
- # FreeBSD port
-
- ngx_feature="Google perftools in /usr/local/"
-
- if [ $NGX_RPATH = YES ]; then
- ngx_feature_libs="-R/usr/local/lib -L/usr/local/lib -lprofiler"
- else
- ngx_feature_libs="-L/usr/local/lib -lprofiler"
- fi
-
- . auto/feature
-fi
-
-
-if [ $ngx_found = no ]; then
-
- # MacPorts
-
- ngx_feature="Google perftools in /opt/local/"
-
- if [ $NGX_RPATH = YES ]; then
- ngx_feature_libs="-R/opt/local/lib -L/opt/local/lib -lprofiler"
- else
- ngx_feature_libs="-L/opt/local/lib -lprofiler"
- fi
-
- . auto/feature
-fi
-
-
-if [ $ngx_found = yes ]; then
- CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
-
-else
-
-cat << END
-
-$0: error: the Google perftools module requires the Google perftools
-library. You can either do not enable the module or install the library.
-
-END
-
- exit 1
-fi
diff --git a/app/nginx/auto/lib/libatomic/conf b/app/nginx/auto/lib/libatomic/conf
deleted file mode 100644
index d1e484a..0000000
--- a/app/nginx/auto/lib/libatomic/conf
+++ /dev/null
@@ -1,43 +0,0 @@
-
-# Copyright (C) Igor Sysoev
-# Copyright (C) Nginx, Inc.
-
-
-if [ $NGX_LIBATOMIC != YES ]; then
-
- have=NGX_HAVE_LIBATOMIC . auto/have
- CORE_INCS="$CORE_INCS $NGX_LIBATOMIC/src"
- LINK_DEPS="$LINK_DEPS $NGX_LIBATOMIC/src/libatomic_ops.a"
- CORE_LIBS="$CORE_LIBS $NGX_LIBATOMIC/src/libatomic_ops.a"
-
-else
-
- ngx_feature="atomic_ops library"
- ngx_feature_name=NGX_HAVE_LIBATOMIC
- ngx_feature_run=yes
- ngx_feature_incs="#define AO_REQUIRE_CAS
- #include <atomic_ops.h>"
- ngx_feature_path=
- ngx_feature_libs="-latomic_ops"
- ngx_feature_test="long n = 0;
- if (!AO_compare_and_swap(&n, 0, 1))
- return 1;
- if (AO_fetch_and_add(&n, 1) != 1)
- return 1;
- if (n != 2)
- return 1;
- AO_nop();"
- . auto/feature
-
- if [ $ngx_found = yes ]; then
- CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
- else
-
-cat << END
-
-$0: error: libatomic_ops library was not found.
-
-END
- exit 1
- fi
-fi
diff --git a/app/nginx/auto/lib/libatomic/make b/app/nginx/auto/lib/libatomic/make
deleted file mode 100644
index c90318e..0000000
--- a/app/nginx/auto/lib/libatomic/make
+++ /dev/null
@@ -1,16 +0,0 @@
-
-# Copyright (C) Igor Sysoev
-# Copyright (C) Nginx, Inc.
-
-
- cat << END >> $NGX_MAKEFILE
-
-$NGX_LIBATOMIC/src/libatomic_ops.a: $NGX_LIBATOMIC/Makefile
- cd $NGX_LIBATOMIC && \$(MAKE)
-
-$NGX_LIBATOMIC/Makefile: $NGX_MAKEFILE
- cd $NGX_LIBATOMIC \\
- && if [ -f Makefile ]; then \$(MAKE) distclean; fi \\
- && ./configure
-
-END
diff --git a/app/nginx/auto/lib/libgd/conf b/app/nginx/auto/lib/libgd/conf
deleted file mode 100644
index 87761f1..0000000
--- a/app/nginx/auto/lib/libgd/conf
+++ /dev/null
@@ -1,93 +0,0 @@
-
-# Copyright (C) Igor Sysoev
-# Copyright (C) Nginx, Inc.
-
-
- ngx_feature="GD library"
- ngx_feature_name=
- ngx_feature_run=no
- ngx_feature_incs="#include <gd.h>"
- ngx_feature_path=
- ngx_feature_libs="-lgd"
- ngx_feature_test="gdImagePtr img = gdImageCreateFromGifPtr(1, NULL);"
- . auto/feature
-
-
-if [ $ngx_found = no ]; then
-
- # FreeBSD port
-
- ngx_feature="GD library in /usr/local/"
- ngx_feature_path="/usr/local/include"
-
- if [ $NGX_RPATH = YES ]; then
- ngx_feature_libs="-R/usr/local/lib -L/usr/local/lib -lgd"
- else
- ngx_feature_libs="-L/usr/local/lib -lgd"
- fi
-
- . auto/feature
-fi
-
-
-if [ $ngx_found = no ]; then
-
- # NetBSD port
-
- ngx_feature="GD library in /usr/pkg/"
- ngx_feature_path="/usr/pkg/include"
-
- if [ $NGX_RPATH = YES ]; then
- ngx_feature_libs="-R/usr/pkg/lib -L/usr/pkg/lib -lgd"
- else
- ngx_feature_libs="-L/usr/pkg/lib -lgd"
- fi
-
- . auto/feature
-fi
-
-
-if [ $ngx_found = no ]; then
-
- # MacPorts
-
- ngx_feature="GD library in /opt/local/"
- ngx_feature_path="/opt/local/include"
-
- if [ $NGX_RPATH = YES ]; then
- ngx_feature_libs="-R/opt/local/lib -L/opt/local/lib -lgd"
- else
- ngx_feature_libs="-L/opt/local/lib -lgd"
- fi
-
- . auto/feature
-fi
-
-
-if [ $ngx_found = yes ]; then
-
- CORE_INCS="$CORE_INCS $ngx_feature_path"
-
- if [ $USE_LIBGD = YES ]; then
- CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
- fi
-
- NGX_LIB_LIBGD=$ngx_feature_libs
-
- ngx_feature="GD WebP support"
- ngx_feature_name="NGX_HAVE_GD_WEBP"
- ngx_feature_test="gdImagePtr img = gdImageCreateFromWebpPtr(1, NULL);"
- . auto/feature
-
-else
-
-cat << END
-
-$0: error: the HTTP image filter module requires the GD library.
-You can either do not enable the module or install the libraries.
-
-END
-
- exit 1
-
-fi
diff --git a/app/nginx/auto/lib/libxslt/conf b/app/nginx/auto/lib/libxslt/conf
deleted file mode 100644
index 3a0f37b..0000000
--- a/app/nginx/auto/lib/libxslt/conf
+++ /dev/null
@@ -1,165 +0,0 @@
-
-# Copyright (C) Igor Sysoev
-# Copyright (C) Nginx, Inc.
-
-
- ngx_feature="libxslt"
- ngx_feature_name=
- ngx_feature_run=no
- ngx_feature_incs="#include <libxml/parser.h>
- #include <libxml/tree.h>
- #include <libxslt/xslt.h>
- #include <libxslt/xsltInternals.h>
- #include <libxslt/transform.h>
- #include <libxslt/xsltutils.h>"
- ngx_feature_path="/usr/include/libxml2"
- ngx_feature_libs="-lxml2 -lxslt"
- ngx_feature_test="xmlParserCtxtPtr ctxt = NULL;
- xsltStylesheetPtr sheet = NULL;
- xmlDocPtr doc;
- doc = xmlParseChunk(ctxt, NULL, 0, 0);
- xsltApplyStylesheet(sheet, doc, NULL);"
- . auto/feature
-
-
-if [ $ngx_found = no ]; then
-
- # FreeBSD port
-
- ngx_feature="libxslt in /usr/local/"
- ngx_feature_path="/usr/local/include/libxml2 /usr/local/include"
-
- if [ $NGX_RPATH = YES ]; then
- ngx_feature_libs="-R/usr/local/lib -L/usr/local/lib -lxml2 -lxslt"
- else
- ngx_feature_libs="-L/usr/local/lib -lxml2 -lxslt"
- fi
-
- . auto/feature
-fi
-
-
-if [ $ngx_found = no ]; then
-
- # NetBSD port
-
- ngx_feature="libxslt in /usr/pkg/"
- ngx_feature_path="/usr/pkg/include/libxml2 /usr/pkg/include"
-
- if [ $NGX_RPATH = YES ]; then
- ngx_feature_libs="-R/usr/pkg/lib -L/usr/pkg/lib -lxml2 -lxslt"
- else
- ngx_feature_libs="-L/usr/pkg/lib -lxml2 -lxslt"
- fi
-
- . auto/feature
-fi
-
-
-if [ $ngx_found = no ]; then
-
- # MacPorts
-
- ngx_feature="libxslt in /opt/local/"
- ngx_feature_path="/opt/local/include/libxml2 /opt/local/include"
-
- if [ $NGX_RPATH = YES ]; then
- ngx_feature_libs="-R/opt/local/lib -L/opt/local/lib -lxml2 -lxslt"
- else
- ngx_feature_libs="-L/opt/local/lib -lxml2 -lxslt"
- fi
-
- . auto/feature
-fi
-
-
-if [ $ngx_found = yes ]; then
-
- CORE_INCS="$CORE_INCS $ngx_feature_path"
-
- if [ $USE_LIBXSLT = YES ]; then
- CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
- fi
-
- NGX_LIB_LIBXSLT=$ngx_feature_libs
-
-else
-
-cat << END
-
-$0: error: the HTTP XSLT module requires the libxml2/libxslt
-libraries. You can either do not enable the module or install the libraries.
-
-END
-
- exit 1
-fi
-
-
- ngx_feature="libexslt"
- ngx_feature_name=NGX_HAVE_EXSLT
- ngx_feature_run=no
- ngx_feature_incs="#include <libexslt/exslt.h>"
- ngx_feature_path="/usr/include/libxml2"
- ngx_feature_libs="-lexslt"
- ngx_feature_test="exsltRegisterAll();"
- . auto/feature
-
-if [ $ngx_found = no ]; then
-
- # FreeBSD port
-
- ngx_feature="libexslt in /usr/local/"
- ngx_feature_path="/usr/local/include/libxml2 /usr/local/include"
-
- if [ $NGX_RPATH = YES ]; then
- ngx_feature_libs="-R/usr/local/lib -L/usr/local/lib -lexslt"
- else
- ngx_feature_libs="-L/usr/local/lib -lexslt"
- fi
-
- . auto/feature
-fi
-
-
-if [ $ngx_found = no ]; then
-
- # NetBSD port
-
- ngx_feature="libexslt in /usr/pkg/"
- ngx_feature_path="/usr/pkg/include/libxml2 /usr/local/include"
-
- if [ $NGX_RPATH = YES ]; then
- ngx_feature_libs="-R/usr/pkg/lib -L/usr/pkg/lib -lexslt"
- else
- ngx_feature_libs="-L/usr/pkg/lib -lexslt"
- fi
-
- . auto/feature
-fi
-
-
-if [ $ngx_found = no ]; then
-
- # MacPorts
-
- ngx_feature="libexslt in /opt/local/"
- ngx_feature_path="/opt/local/include/libxml2 /opt/local/include"
-
- if [ $NGX_RPATH = YES ]; then
- ngx_feature_libs="-R/opt/local/lib -L/opt/local/lib -lexslt"
- else
- ngx_feature_libs="-L/opt/local/lib -lexslt"
- fi
-
- . auto/feature
-fi
-
-
-if [ $ngx_found = yes ]; then
- if [ $USE_LIBXSLT = YES ]; then
- CORE_LIBS="$CORE_LIBS -lexslt"
- fi
-
- NGX_LIB_LIBXSLT="$NGX_LIB_LIBXSLT -lexslt"
-fi
diff --git a/app/nginx/auto/lib/make b/app/nginx/auto/lib/make
deleted file mode 100644
index b64e329..0000000
--- a/app/nginx/auto/lib/make
+++ /dev/null
@@ -1,24 +0,0 @@
-
-# Copyright (C) Igor Sysoev
-# Copyright (C) Nginx, Inc.
-
-
-if [ $PCRE != NONE -a $PCRE != NO -a $PCRE != YES ]; then
- . auto/lib/pcre/make
-fi
-
-if [ $OPENSSL != NONE -a $OPENSSL != NO -a $OPENSSL != YES ]; then
- . auto/lib/openssl/make
-fi
-
-if [ $ZLIB != NONE -a $ZLIB != NO -a $ZLIB != YES ]; then
- . auto/lib/zlib/make
-fi
-
-if [ $NGX_LIBATOMIC != NO -a $NGX_LIBATOMIC != YES ]; then
- . auto/lib/libatomic/make
-fi
-
-if [ $USE_PERL != NO ]; then
- . auto/lib/perl/make
-fi
diff --git a/app/nginx/auto/lib/openssl/conf b/app/nginx/auto/lib/openssl/conf
deleted file mode 100644
index e7d3795..0000000
--- a/app/nginx/auto/lib/openssl/conf
+++ /dev/null
@@ -1,135 +0,0 @@
-
-# Copyright (C) Igor Sysoev
-# Copyright (C) Nginx, Inc.
-
-
-if [ $OPENSSL != NONE ]; then
-
- case "$CC" in
-
- cl | bcc32)
- have=NGX_OPENSSL . auto/have
- have=NGX_SSL . auto/have
-
- CFLAGS="$CFLAGS -DNO_SYS_TYPES_H"
-
- CORE_INCS="$CORE_INCS $OPENSSL/openssl/include"
- CORE_DEPS="$CORE_DEPS $OPENSSL/openssl/include/openssl/ssl.h"
-
- if [ -f $OPENSSL/ms/do_ms.bat ]; then
- # before OpenSSL 1.1.0
- CORE_LIBS="$CORE_LIBS $OPENSSL/openssl/lib/ssleay32.lib"
- CORE_LIBS="$CORE_LIBS $OPENSSL/openssl/lib/libeay32.lib"
- else
- # OpenSSL 1.1.0+
- CORE_LIBS="$CORE_LIBS $OPENSSL/openssl/lib/libssl.lib"
- CORE_LIBS="$CORE_LIBS $OPENSSL/openssl/lib/libcrypto.lib"
- fi
-
- # libeay32.lib requires gdi32.lib
- CORE_LIBS="$CORE_LIBS gdi32.lib"
- # OpenSSL 1.0.0 requires crypt32.lib
- CORE_LIBS="$CORE_LIBS crypt32.lib"
- ;;
-
- *)
- have=NGX_OPENSSL . auto/have
- have=NGX_SSL . auto/have
-
- CORE_INCS="$CORE_INCS $OPENSSL/.openssl/include"
- CORE_DEPS="$CORE_DEPS $OPENSSL/.openssl/include/openssl/ssl.h"
- CORE_LIBS="$CORE_LIBS $OPENSSL/.openssl/lib/libssl.a"
- CORE_LIBS="$CORE_LIBS $OPENSSL/.openssl/lib/libcrypto.a"
- CORE_LIBS="$CORE_LIBS $NGX_LIBDL"
-
- if [ "$NGX_PLATFORM" = win32 ]; then
- CORE_LIBS="$CORE_LIBS -lgdi32 -lcrypt32 -lws2_32"
- fi
- ;;
- esac
-
-else
-
- if [ "$NGX_PLATFORM" != win32 ]; then
-
- OPENSSL=NO
-
- ngx_feature="OpenSSL library"
- ngx_feature_name="NGX_OPENSSL"
- ngx_feature_run=no
- ngx_feature_incs="#include <openssl/ssl.h>"
- ngx_feature_path=
- ngx_feature_libs="-lssl -lcrypto $NGX_LIBDL"
- ngx_feature_test="SSL_CTX_set_options(NULL, 0)"
- . auto/feature
-
- if [ $ngx_found = no ]; then
-
- # FreeBSD port
-
- ngx_feature="OpenSSL library in /usr/local/"
- ngx_feature_path="/usr/local/include"
-
- if [ $NGX_RPATH = YES ]; then
- ngx_feature_libs="-R/usr/local/lib -L/usr/local/lib -lssl -lcrypto $NGX_LIBDL"
- else
- ngx_feature_libs="-L/usr/local/lib -lssl -lcrypto $NGX_LIBDL"
- fi
-
- . auto/feature
- fi
-
- if [ $ngx_found = no ]; then
-
- # NetBSD port
-
- ngx_feature="OpenSSL library in /usr/pkg/"
- ngx_feature_path="/usr/pkg/include"
-
- if [ $NGX_RPATH = YES ]; then
- ngx_feature_libs="-R/usr/pkg/lib -L/usr/pkg/lib -lssl -lcrypto $NGX_LIBDL"
- else
- ngx_feature_libs="-L/usr/pkg/lib -lssl -lcrypto $NGX_LIBDL"
- fi
-
- . auto/feature
- fi
-
- if [ $ngx_found = no ]; then
-
- # MacPorts
-
- ngx_feature="OpenSSL library in /opt/local/"
- ngx_feature_path="/opt/local/include"
-
- if [ $NGX_RPATH = YES ]; then
- ngx_feature_libs="-R/opt/local/lib -L/opt/local/lib -lssl -lcrypto $NGX_LIBDL"
- else
- ngx_feature_libs="-L/opt/local/lib -lssl -lcrypto $NGX_LIBDL"
- fi
-
- . auto/feature
- fi
-
- if [ $ngx_found = yes ]; then
- have=NGX_SSL . auto/have
- CORE_INCS="$CORE_INCS $ngx_feature_path"
- CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
- OPENSSL=YES
- fi
- fi
-
- if [ $OPENSSL != YES ]; then
-
-cat << END
-
-$0: error: SSL modules require the OpenSSL library.
-You can either do not enable the modules, or install the OpenSSL library
-into the system, or build the OpenSSL library statically from the source
-with nginx by using --with-openssl=<path> option.
-
-END
- exit 1
- fi
-
-fi
diff --git a/app/nginx/auto/lib/openssl/make b/app/nginx/auto/lib/openssl/make
deleted file mode 100644
index a6090c6..0000000
--- a/app/nginx/auto/lib/openssl/make
+++ /dev/null
@@ -1,62 +0,0 @@
-
-# Copyright (C) Igor Sysoev
-# Copyright (C) Nginx, Inc.
-
-
-case "$CC" in
-
- cl)
-
- cat << END >> $NGX_MAKEFILE
-
-$OPENSSL/openssl/include/openssl/ssl.h: $NGX_MAKEFILE
- \$(MAKE) -f auto/lib/openssl/makefile.msvc \
- OPENSSL="$OPENSSL" OPENSSL_OPT="$OPENSSL_OPT"
-
-END
-
- ;;
-
- bcc32)
-
- ngx_opt=`echo "-DOPENSSL=\"$OPENSSL\" -DOPENSSL_OPT=\"$OPENSSL_OPT\"" \
- | sed -e "s/\//$ngx_regex_dirsep/g"`
-
- cat << END >> $NGX_MAKEFILE
-
-`echo "$OPENSSL\\openssl\\lib\\libeay32.lib: \
- $OPENSSL\\openssl\\include\\openssl\\ssl.h" \
- | sed -e "s/\//$ngx_regex_dirsep/g"`
-
-`echo "$OPENSSL\\openssl\\lib\\ssleay32.lib: \
- $OPENSSL\\openssl\\include\\openssl\\ssl.h" \
- | sed -e "s/\//$ngx_regex_dirsep/g"`
-
-`echo "$OPENSSL\\openssl\\include\\openssl\\ssl.h: $NGX_MAKEFILE" \
- | sed -e "s/\//$ngx_regex_dirsep/g"`
- \$(MAKE) -f auto/lib/openssl/makefile.bcc $ngx_opt
-
-END
-
- ;;
-
- *)
- case $OPENSSL in
- /*) ngx_prefix="$OPENSSL/.openssl" ;;
- *) ngx_prefix="$PWD/$OPENSSL/.openssl" ;;
- esac
-
- cat << END >> $NGX_MAKEFILE
-
-$OPENSSL/.openssl/include/openssl/ssl.h: $NGX_MAKEFILE
- cd $OPENSSL \\
- && if [ -f Makefile ]; then \$(MAKE) clean; fi \\
- && ./config --prefix=$ngx_prefix no-shared $OPENSSL_OPT \\
- && \$(MAKE) \\
- && \$(MAKE) install_sw LIBDIR=lib
-
-END
-
- ;;
-
-esac
diff --git a/app/nginx/auto/lib/openssl/makefile.bcc b/app/nginx/auto/lib/openssl/makefile.bcc
deleted file mode 100644
index 6a94ff7..0000000
--- a/app/nginx/auto/lib/openssl/makefile.bcc
+++ /dev/null
@@ -1,18 +0,0 @@
-
-# Copyright (C) Igor Sysoev
-# Copyright (C) Nginx, Inc.
-
-
-all:
- cd $(OPENSSL)
-
- perl Configure BC-32 no-shared --prefix=openssl $(OPENSSL_OPT)
-
- ms\do_nasm
-
- $(MAKE) -f ms\bcb.mak
- $(MAKE) -f ms\bcb.mak install
-
- # Borland's make does not expand "[ch]" in
- # copy "inc32\openssl\*.[ch]" "openssl\include\openssl"
- copy inc32\openssl\*.h openssl\include\openssl
diff --git a/app/nginx/auto/lib/openssl/makefile.msvc b/app/nginx/auto/lib/openssl/makefile.msvc
deleted file mode 100644
index 5b90dcb..0000000
--- a/app/nginx/auto/lib/openssl/makefile.msvc
+++ /dev/null
@@ -1,21 +0,0 @@
-
-# Copyright (C) Igor Sysoev
-# Copyright (C) Nginx, Inc.
-
-
-all:
- cd $(OPENSSL)
-
- perl Configure VC-WIN32 no-shared \
- --prefix="%cd%/openssl" \
- --openssldir="%cd%/openssl/ssl" \
- $(OPENSSL_OPT)
-
- if exist ms\do_ms.bat ( \
- ms\do_ms \
- && $(MAKE) -f ms\nt.mak \
- && $(MAKE) -f ms\nt.mak install \
- ) else ( \
- $(MAKE) \
- && $(MAKE) install_sw \
- )
diff --git a/app/nginx/auto/lib/pcre/conf b/app/nginx/auto/lib/pcre/conf
deleted file mode 100644
index 5e3960f..0000000
--- a/app/nginx/auto/lib/pcre/conf
+++ /dev/null
@@ -1,203 +0,0 @@
-
-# Copyright (C) Igor Sysoev
-# Copyright (C) Nginx, Inc.
-
-
-if [ $PCRE != NONE ]; then
- CORE_INCS="$CORE_INCS $PCRE"
-
- case "$NGX_CC_NAME" in
-
- msvc | owc | bcc)
- have=NGX_PCRE . auto/have
- have=PCRE_STATIC . auto/have
- CORE_DEPS="$CORE_DEPS $PCRE/pcre.h"
- LINK_DEPS="$LINK_DEPS $PCRE/pcre.lib"
- CORE_LIBS="$CORE_LIBS $PCRE/pcre.lib"
- ;;
-
- icc)
- have=NGX_PCRE . auto/have
- CORE_DEPS="$CORE_DEPS $PCRE/pcre.h"
-
- LINK_DEPS="$LINK_DEPS $PCRE/.libs/libpcre.a"
-
- echo $ngx_n "checking for PCRE library ...$ngx_c"
-
- if [ -f $PCRE/pcre.h ]; then
- ngx_pcre_ver=`grep PCRE_MAJOR $PCRE/pcre.h \
- | sed -e 's/^.*PCRE_MAJOR.* \(.*\)$/\1/'`
-
- else if [ -f $PCRE/configure.in ]; then
- ngx_pcre_ver=`grep PCRE_MAJOR= $PCRE/configure.in \
- | sed -e 's/^.*=\(.*\)$/\1/'`
-
- else
- ngx_pcre_ver=`grep pcre_major, $PCRE/configure.ac \
- | sed -e 's/^.*pcre_major,.*\[\(.*\)\].*$/\1/'`
- fi
- fi
-
- echo " $ngx_pcre_ver major version found"
-
- # to allow -ipo optimization we link with the *.o but not library
-
- case "$ngx_pcre_ver" in
- 4|5)
- CORE_LIBS="$CORE_LIBS $PCRE/pcre.o"
- ;;
-
- 6)
- CORE_LIBS="$CORE_LIBS $PCRE/pcre_chartables.o"
- CORE_LIBS="$CORE_LIBS $PCRE/pcre_compile.o"
- CORE_LIBS="$CORE_LIBS $PCRE/pcre_exec.o"
- CORE_LIBS="$CORE_LIBS $PCRE/pcre_fullinfo.o"
- CORE_LIBS="$CORE_LIBS $PCRE/pcre_globals.o"
- CORE_LIBS="$CORE_LIBS $PCRE/pcre_tables.o"
- CORE_LIBS="$CORE_LIBS $PCRE/pcre_try_flipped.o"
- ;;
-
- *)
- CORE_LIBS="$CORE_LIBS $PCRE/pcre_chartables.o"
- CORE_LIBS="$CORE_LIBS $PCRE/pcre_compile.o"
- CORE_LIBS="$CORE_LIBS $PCRE/pcre_exec.o"
- CORE_LIBS="$CORE_LIBS $PCRE/pcre_fullinfo.o"
- CORE_LIBS="$CORE_LIBS $PCRE/pcre_globals.o"
- CORE_LIBS="$CORE_LIBS $PCRE/pcre_tables.o"
- CORE_LIBS="$CORE_LIBS $PCRE/pcre_try_flipped.o"
- CORE_LIBS="$CORE_LIBS $PCRE/pcre_newline.o"
- ;;
-
- esac
- ;;
-
- *)
- have=NGX_PCRE . auto/have
-
- if [ "$NGX_PLATFORM" = win32 ]; then
- have=PCRE_STATIC . auto/have
- fi
-
- CORE_DEPS="$CORE_DEPS $PCRE/pcre.h"
- LINK_DEPS="$LINK_DEPS $PCRE/.libs/libpcre.a"
- CORE_LIBS="$CORE_LIBS $PCRE/.libs/libpcre.a"
- ;;
-
- esac
-
-
- if [ $PCRE_JIT = YES ]; then
- have=NGX_HAVE_PCRE_JIT . auto/have
- PCRE_CONF_OPT="$PCRE_CONF_OPT --enable-jit"
- fi
-
-else
-
- if [ "$NGX_PLATFORM" != win32 ]; then
-
- PCRE=NO
-
- ngx_feature="PCRE library"
- ngx_feature_name="NGX_PCRE"
- ngx_feature_run=no
- ngx_feature_incs="#include <pcre.h>"
- ngx_feature_path=
- ngx_feature_libs="-lpcre"
- ngx_feature_test="pcre *re;
- re = pcre_compile(NULL, 0, NULL, 0, NULL);
- if (re == NULL) return 1"
- . auto/feature
-
- if [ $ngx_found = no ]; then
-
- # FreeBSD port
-
- ngx_feature="PCRE library in /usr/local/"
- ngx_feature_path="/usr/local/include"
-
- if [ $NGX_RPATH = YES ]; then
- ngx_feature_libs="-R/usr/local/lib -L/usr/local/lib -lpcre"
- else
- ngx_feature_libs="-L/usr/local/lib -lpcre"
- fi
-
- . auto/feature
- fi
-
- if [ $ngx_found = no ]; then
-
- # RedHat RPM, Solaris package
-
- ngx_feature="PCRE library in /usr/include/pcre/"
- ngx_feature_path="/usr/include/pcre"
- ngx_feature_libs="-lpcre"
-
- . auto/feature
- fi
-
- if [ $ngx_found = no ]; then
-
- # NetBSD port
-
- ngx_feature="PCRE library in /usr/pkg/"
- ngx_feature_path="/usr/pkg/include"
-
- if [ $NGX_RPATH = YES ]; then
- ngx_feature_libs="-R/usr/pkg/lib -L/usr/pkg/lib -lpcre"
- else
- ngx_feature_libs="-L/usr/pkg/lib -lpcre"
- fi
-
- . auto/feature
- fi
-
- if [ $ngx_found = no ]; then
-
- # MacPorts
-
- ngx_feature="PCRE library in /opt/local/"
- ngx_feature_path="/opt/local/include"
-
- if [ $NGX_RPATH = YES ]; then
- ngx_feature_libs="-R/opt/local/lib -L/opt/local/lib -lpcre"
- else
- ngx_feature_libs="-L/opt/local/lib -lpcre"
- fi
-
- . auto/feature
- fi
-
- if [ $ngx_found = yes ]; then
- CORE_INCS="$CORE_INCS $ngx_feature_path"
- CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
- PCRE=YES
- fi
-
- if [ $PCRE = YES ]; then
- ngx_feature="PCRE JIT support"
- ngx_feature_name="NGX_HAVE_PCRE_JIT"
- ngx_feature_test="int jit = 0;
- pcre_free_study(NULL);
- pcre_config(PCRE_CONFIG_JIT, &jit);
- if (jit != 1) return 1;"
- . auto/feature
-
- if [ $ngx_found = yes ]; then
- PCRE_JIT=YES
- fi
- fi
- fi
-
- if [ $PCRE != YES ]; then
-cat << END
-
-$0: error: the HTTP rewrite module requires the PCRE library.
-You can either disable the module by using --without-http_rewrite_module
-option, or install the PCRE library into the system, or build the PCRE library
-statically from the source with nginx by using --with-pcre=<path> option.
-
-END
- exit 1
- fi
-
-fi
diff --git a/app/nginx/auto/lib/pcre/make b/app/nginx/auto/lib/pcre/make
deleted file mode 100644
index 97c9f3b..0000000
--- a/app/nginx/auto/lib/pcre/make
+++ /dev/null
@@ -1,64 +0,0 @@
-
-# Copyright (C) Igor Sysoev
-# Copyright (C) Nginx, Inc.
-
-
-case "$NGX_CC_NAME" in
-
- msvc)
- ngx_makefile=makefile.msvc
- ngx_opt="CPU_OPT=\"$CPU_OPT\" LIBC=$LIBC"
- ngx_pcre="PCRE=\"$PCRE\""
- ;;
-
- owc)
- ngx_makefile=makefile.owc
- ngx_opt="CPU_OPT=\"$CPU_OPT\""
- ngx_pcre=`echo PCRE=\"$PCRE\" | sed -e "s/\//$ngx_regex_dirsep/g"`
- ;;
-
- bcc)
- ngx_makefile=makefile.bcc
- ngx_opt="-DCPU_OPT=\"$CPU_OPT\""
- ngx_pcre=`echo \-DPCRE=\"$PCRE\" | sed -e "s/\//$ngx_regex_dirsep/g"`
- ;;
-
- *)
- ngx_makefile=
- ;;
-
-esac
-
-
-if [ -n "$ngx_makefile" ]; then
-
- cat << END >> $NGX_MAKEFILE
-
-`echo "$PCRE/pcre.lib: $PCRE/pcre.h $NGX_MAKEFILE" \
- | sed -e "s/\//$ngx_regex_dirsep/g"`
- \$(MAKE) -f auto/lib/pcre/$ngx_makefile $ngx_pcre $ngx_opt
-
-`echo "$PCRE/pcre.h:" | sed -e "s/\//$ngx_regex_dirsep/g"`
- \$(MAKE) -f auto/lib/pcre/$ngx_makefile $ngx_pcre pcre.h
-
-END
-
-else
-
- cat << END >> $NGX_MAKEFILE
-
-$PCRE/pcre.h: $PCRE/Makefile
-
-$PCRE/Makefile: $NGX_MAKEFILE
- cd $PCRE \\
- && if [ -f Makefile ]; then \$(MAKE) distclean; fi \\
- && CC="\$(CC)" CFLAGS="$PCRE_OPT" \\
- ./configure --disable-shared $PCRE_CONF_OPT
-
-$PCRE/.libs/libpcre.a: $PCRE/Makefile
- cd $PCRE \\
- && \$(MAKE) libpcre.la
-
-END
-
-fi
diff --git a/app/nginx/auto/lib/pcre/makefile.bcc b/app/nginx/auto/lib/pcre/makefile.bcc
deleted file mode 100644
index 7a0f2be..0000000
--- a/app/nginx/auto/lib/pcre/makefile.bcc
+++ /dev/null
@@ -1,27 +0,0 @@
-
-# Copyright (C) Igor Sysoev
-# Copyright (C) Nginx, Inc.
-
-
-CFLAGS = -q -O2 -tWM -w-8004 $(CPU_OPT)
-PCREFLAGS = -DHAVE_CONFIG_H -DPCRE_STATIC -DPOSIX_MALLOC_THRESHOLD=10 \
- -DSUPPORT_PCRE8 -DHAVE_MEMMOVE
-
-
-pcre.lib:
- cd $(PCRE)
-
- bcc32 -c $(CFLAGS) -I. $(PCREFLAGS) pcre_*.c
-
- copy /y nul pcre.lst
- for %n in (*.obj) do @echo +%n ^^& >> pcre.lst
- echo + >> pcre.lst
-
- tlib pcre.lib @pcre.lst
-
-pcre.h:
- cd $(PCRE)
-
- copy /y pcre.h.generic pcre.h
- copy /y config.h.generic config.h
- copy /y pcre_chartables.c.dist pcre_chartables.c
diff --git a/app/nginx/auto/lib/pcre/makefile.msvc b/app/nginx/auto/lib/pcre/makefile.msvc
deleted file mode 100644
index 07fd9a2..0000000
--- a/app/nginx/auto/lib/pcre/makefile.msvc
+++ /dev/null
@@ -1,23 +0,0 @@
-
-# Copyright (C) Igor Sysoev
-# Copyright (C) Nginx, Inc.
-
-
-CFLAGS = -O2 -Ob1 -Oi -Gs $(LIBC) $(CPU_OPT)
-PCREFLAGS = -DHAVE_CONFIG_H -DPCRE_STATIC -DPOSIX_MALLOC_THRESHOLD=10 \
- -DSUPPORT_PCRE8 -DHAVE_MEMMOVE
-
-
-pcre.lib:
- cd $(PCRE)
-
- cl -nologo -c $(CFLAGS) -I . $(PCREFLAGS) pcre_*.c
-
- link -lib -out:pcre.lib -verbose:lib pcre_*.obj
-
-pcre.h:
- cd $(PCRE)
-
- copy /y pcre.h.generic pcre.h
- copy /y config.h.generic config.h
- copy /y pcre_chartables.c.dist pcre_chartables.c
diff --git a/app/nginx/auto/lib/pcre/makefile.owc b/app/nginx/auto/lib/pcre/makefile.owc
deleted file mode 100644
index 122fd5b..0000000
--- a/app/nginx/auto/lib/pcre/makefile.owc
+++ /dev/null
@@ -1,25 +0,0 @@
-
-# Copyright (C) Igor Sysoev
-# Copyright (C) Nginx, Inc.
-
-
-CFLAGS = -c -zq -bt=nt -ot -op -oi -oe -s -bm $(CPU_OPT)
-PCREFLAGS = -DHAVE_CONFIG_H -DPCRE_STATIC -DPOSIX_MALLOC_THRESHOLD=10 &
- -DSUPPORT_PCRE8 -DHAVE_MEMMOVE
-
-
-pcre.lib:
- cd $(PCRE)
-
- wcl386 $(CFLAGS) -i=. $(PCREFLAGS) pcre_*.c
-
- dir /b *.obj > pcre.lst
-
- wlib -n pcre.lib @pcre.lst
-
-pcre.h:
- cd $(PCRE)
-
- copy /y pcre.h.generic pcre.h
- copy /y config.h.generic config.h
- copy /y pcre_chartables.c.dist pcre_chartables.c
diff --git a/app/nginx/auto/lib/perl/conf b/app/nginx/auto/lib/perl/conf
deleted file mode 100644
index e16a1bc..0000000
--- a/app/nginx/auto/lib/perl/conf
+++ /dev/null
@@ -1,83 +0,0 @@
-
-# Copyright (C) Igor Sysoev
-# Copyright (C) Nginx, Inc.
-
-
-echo "checking for perl"
-
-
-NGX_PERL_VER=`$NGX_PERL -v 2>&1 | grep '^This is perl' 2>&1 \
- | sed -e 's/^This is perl, \(.*\)/\1/'`
-
-if test -n "$NGX_PERL_VER"; then
- echo " + perl version: $NGX_PERL_VER"
-
- if [ "`$NGX_PERL -e 'use 5.008006; print "OK"'`" != "OK" ]; then
- echo
- echo "$0: error: perl 5.8.6 or higher is required"
- echo
-
- exit 1;
- fi
-
- if [ "`$NGX_PERL -MExtUtils::Embed -e 'print "OK"'`" != "OK" ]; then
- echo
- echo "$0: error: perl module ExtUtils::Embed is required"
- echo
-
- exit 1;
- fi
-
- NGX_PM_CFLAGS=`$NGX_PERL -MExtUtils::Embed -e ccopts`
- NGX_PM_LDFLAGS=`$NGX_PERL -MConfig -e 'print $Config{lddlflags}'`
-
- NGX_PERL_CFLAGS="$CFLAGS `$NGX_PERL -MExtUtils::Embed -e ccopts`"
-
- # gcc 4.1/4.2 warn about unused values in pTHX_
- NGX_PERL_CFLAGS=`echo $NGX_PERL_CFLAGS \
- | sed -e 's/-Wunused-value/-Wno-unused-value/'`
- # icc8 warns 'declaration hides parameter "my_perl"' in ENTER and LEAVE
- NGX_PERL_CFLAGS=`echo $NGX_PERL_CFLAGS \
- | sed -e 's/-wd171/-wd171 -wd1599/'`
-
- ngx_perl_ldopts=`$NGX_PERL -MExtUtils::Embed -e ldopts`
-
- ngx_perl_dlext=`$NGX_PERL -MConfig -e 'print $Config{dlext}'`
- ngx_perl_libdir="src/http/modules/perl/blib/arch/auto"
- ngx_perl_module="$ngx_perl_libdir/nginx/nginx.$ngx_perl_dlext"
-
- if $NGX_PERL -V:usemultiplicity | grep define > /dev/null; then
- have=NGX_HAVE_PERL_MULTIPLICITY . auto/have
- echo " + perl interpreter multiplicity found"
- fi
-
- if $NGX_PERL -V:useithreads | grep undef > /dev/null; then
- # FreeBSD port wants to link with -pthread non-threaded perl
- ngx_perl_ldopts=`echo $ngx_perl_ldopts | sed 's/ -pthread//'`
- fi
-
- if [ "$NGX_SYSTEM" = "Darwin" ]; then
- # OS X system perl wants to link universal binaries
- ngx_perl_ldopts=`echo $ngx_perl_ldopts \
- | sed -e 's/-arch i386//' -e 's/-arch x86_64//'`
- fi
-
- if [ $USE_PERL = YES ]; then
- CORE_LINK="$CORE_LINK $ngx_perl_ldopts"
- fi
-
- NGX_LIB_PERL="$ngx_perl_ldopts"
-
- if test -n "$NGX_PERL_MODULES"; then
- have=NGX_PERL_MODULES value="(u_char *) \"$NGX_PERL_MODULES\""
- . auto/define
- NGX_PERL_MODULES_MAN=$NGX_PERL_MODULES/man3
- fi
-
-else
- echo
- echo "$0: error: perl 5.8.6 or higher is required"
- echo
-
- exit 1;
-fi
diff --git a/app/nginx/auto/lib/perl/make b/app/nginx/auto/lib/perl/make
deleted file mode 100644
index 74e0f3a..0000000
--- a/app/nginx/auto/lib/perl/make
+++ /dev/null
@@ -1,46 +0,0 @@
-
-# Copyright (C) Igor Sysoev
-# Copyright (C) Nginx, Inc.
-
-
-cat << END >> $NGX_MAKEFILE
-
-$NGX_OBJS/src/http/modules/perl/ngx_http_perl_module.o: \\
- $NGX_OBJS/$ngx_perl_module
-
-$NGX_OBJS/$ngx_perl_module: \\
- \$(CORE_DEPS) \$(HTTP_DEPS) \\
- src/http/modules/perl/ngx_http_perl_module.h \\
- $NGX_OBJS/src/http/modules/perl/Makefile
- cd $NGX_OBJS/src/http/modules/perl && \$(MAKE)
-
- rm -rf $NGX_OBJS/install_perl
-
-
-$NGX_OBJS/src/http/modules/perl/Makefile: \\
- $NGX_AUTO_CONFIG_H \\
- src/core/nginx.h \\
- src/http/modules/perl/Makefile.PL \\
- src/http/modules/perl/nginx.pm \\
- src/http/modules/perl/nginx.xs \\
- src/http/modules/perl/typemap
- grep 'define NGINX_VERSION' src/core/nginx.h \\
- | sed -e 's/^.*"\(.*\)".*/\1/' > \\
- $NGX_OBJS/src/http/modules/perl/version
- sed "s/%%VERSION%%/\`cat $NGX_OBJS/src/http/modules/perl/version\`/" \\
- src/http/modules/perl/nginx.pm > \\
- $NGX_OBJS/src/http/modules/perl/nginx.pm
- cp -p src/http/modules/perl/nginx.xs $NGX_OBJS/src/http/modules/perl/
- cp -p src/http/modules/perl/typemap $NGX_OBJS/src/http/modules/perl/
- cp -p src/http/modules/perl/Makefile.PL $NGX_OBJS/src/http/modules/perl/
-
- cd $NGX_OBJS/src/http/modules/perl \\
- && NGX_PM_CFLAGS="\$(NGX_PM_CFLAGS) -g $NGX_CC_OPT" \\
- NGX_PM_LDFLAGS="$NGX_LD_OPT \$(NGX_PM_LDFLAGS)" \\
- NGX_INCS="$CORE_INCS $NGX_OBJS $HTTP_INCS" \\
- NGX_DEPS="\$(CORE_DEPS) \$(HTTP_DEPS)" \\
- $NGX_PERL Makefile.PL \\
- LIB=$NGX_PERL_MODULES \\
- INSTALLSITEMAN3DIR=$NGX_PERL_MODULES_MAN
-
-END
diff --git a/app/nginx/auto/lib/zlib/conf b/app/nginx/auto/lib/zlib/conf
deleted file mode 100644
index 239592e..0000000
--- a/app/nginx/auto/lib/zlib/conf
+++ /dev/null
@@ -1,79 +0,0 @@
-
-# Copyright (C) Igor Sysoev
-# Copyright (C) Nginx, Inc.
-
-
-if [ $ZLIB != NONE ]; then
- CORE_INCS="$CORE_INCS $ZLIB"
-
- case "$NGX_CC_NAME" in
-
- msvc | owc | bcc)
- have=NGX_ZLIB . auto/have
- LINK_DEPS="$LINK_DEPS $ZLIB/zlib.lib"
- CORE_LIBS="$CORE_LIBS $ZLIB/zlib.lib"
- ;;
-
- icc)
- have=NGX_ZLIB . auto/have
- LINK_DEPS="$LINK_DEPS $ZLIB/libz.a"
-
- # to allow -ipo optimization we link with the *.o but not library
- CORE_LIBS="$CORE_LIBS $ZLIB/adler32.o"
- CORE_LIBS="$CORE_LIBS $ZLIB/crc32.o"
- CORE_LIBS="$CORE_LIBS $ZLIB/deflate.o"
- CORE_LIBS="$CORE_LIBS $ZLIB/trees.o"
- CORE_LIBS="$CORE_LIBS $ZLIB/zutil.o"
- CORE_LIBS="$CORE_LIBS $ZLIB/compress.o"
-
- if [ $ZLIB_ASM != NO ]; then
- CORE_LIBS="$CORE_LIBS $ZLIB/match.o"
- fi
- ;;
-
- *)
- have=NGX_ZLIB . auto/have
- LINK_DEPS="$LINK_DEPS $ZLIB/libz.a"
- CORE_LIBS="$CORE_LIBS $ZLIB/libz.a"
- #CORE_LIBS="$CORE_LIBS -L $ZLIB -lz"
- ;;
-
- esac
-
-else
-
- if [ "$NGX_PLATFORM" != win32 ]; then
- ZLIB=NO
-
- # FreeBSD, Solaris, Linux
-
- ngx_feature="zlib library"
- ngx_feature_name="NGX_ZLIB"
- ngx_feature_run=no
- ngx_feature_incs="#include <zlib.h>"
- ngx_feature_path=
- ngx_feature_libs="-lz"
- ngx_feature_test="z_stream z; deflate(&z, Z_NO_FLUSH)"
- . auto/feature
-
-
- if [ $ngx_found = yes ]; then
- CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
- ZLIB=YES
- ngx_found=no
- fi
- fi
-
- if [ $ZLIB != YES ]; then
-cat << END
-
-$0: error: the HTTP gzip module requires the zlib library.
-You can either disable the module by using --without-http_gzip_module
-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
-
-fi
diff --git a/app/nginx/auto/lib/zlib/make b/app/nginx/auto/lib/zlib/make
deleted file mode 100644
index 0082ad5..0000000
--- a/app/nginx/auto/lib/zlib/make
+++ /dev/null
@@ -1,135 +0,0 @@
-
-# Copyright (C) Igor Sysoev
-# Copyright (C) Nginx, Inc.
-
-
-case "$NGX_CC_NAME" in
-
- msvc)
- ngx_makefile=makefile.msvc
- ngx_opt="CPU_OPT=\"$CPU_OPT\" LIBC=$LIBC"
- ngx_zlib="ZLIB=\"$ZLIB\""
-
- ;;
-
- owc)
- ngx_makefile=makefile.owc
- ngx_opt="CPU_OPT=\"$CPU_OPT\""
- ngx_zlib=`echo ZLIB=\"$ZLIB\" | sed -e "s/\//$ngx_regex_dirsep/g"`
- ;;
-
- bcc)
- ngx_makefile=makefile.bcc
- ngx_opt="-DCPU_OPT=\"$CPU_OPT\""
- ngx_zlib=`echo \-DZLIB=\"$ZLIB\" | sed -e "s/\//$ngx_regex_dirsep/g"`
- ;;
-
- *)
- ngx_makefile=
- ;;
-
-esac
-
-
-done=NO
-
-
-case "$NGX_PLATFORM" in
-
- win32)
-
- if [ -n "$ngx_makefile" ]; then
- cat << END >> $NGX_MAKEFILE
-
-`echo "$ZLIB/zlib.lib: $NGX_MAKEFILE" | sed -e "s/\//$ngx_regex_dirsep/g"`
- \$(MAKE) -f auto/lib/zlib/$ngx_makefile $ngx_opt $ngx_zlib
-
-END
-
- else
-
- cat << END >> $NGX_MAKEFILE
-
-$ZLIB/libz.a: $NGX_MAKEFILE
- cd $ZLIB \\
- && \$(MAKE) distclean \\
- && \$(MAKE) -f win32/Makefile.gcc \\
- CFLAGS="$ZLIB_OPT" CC="\$(CC)" \\
- libz.a
-
-END
-
- fi
-
- done=YES
- ;;
-
- # FreeBSD: i386
- # Linux: i686
-
- *:i386 | *:i686)
- case $ZLIB_ASM in
- pentium)
-
- cat << END >> $NGX_MAKEFILE
-
-$ZLIB/libz.a: $NGX_MAKEFILE
- cd $ZLIB \\
- && \$(MAKE) distclean \\
- && cp contrib/asm586/match.S . \\
- && CFLAGS="$ZLIB_OPT -DASMV" CC="\$(CC)" \\
- ./configure \\
- && \$(MAKE) OBJA=match.o libz.a
-
-END
-
- done=YES
- ;;
-
- pentiumpro)
-
- cat << END >> $NGX_MAKEFILE
-
-$ZLIB/libz.a: $NGX_MAKEFILE
- cd $ZLIB \\
- && \$(MAKE) distclean \\
- && cp contrib/asm686/match.S . \\
- && CFLAGS="$ZLIB_OPT -DASMV" CC="\$(CC)" \\
- ./configure \\
- && \$(MAKE) OBJA=match.o libz.a
-
-END
-
- done=YES
- ;;
-
- NO)
- ;;
-
- *)
- echo "$0: error: invalid --with-zlib-asm=$ZLIB_ASM option."
- echo "The valid values are \"pentium\" and \"pentiumpro\" only".
- echo
-
- exit 1;
- ;;
- esac
- ;;
-
-esac
-
-
-if [ $done = NO ]; then
-
- cat << END >> $NGX_MAKEFILE
-
-$ZLIB/libz.a: $NGX_MAKEFILE
- cd $ZLIB \\
- && \$(MAKE) distclean \\
- && CFLAGS="$ZLIB_OPT" CC="\$(CC)" \\
- ./configure \\
- && \$(MAKE) libz.a
-
-END
-
-fi
diff --git a/app/nginx/auto/lib/zlib/makefile.bcc b/app/nginx/auto/lib/zlib/makefile.bcc
deleted file mode 100644
index 97a30ea..0000000
--- a/app/nginx/auto/lib/zlib/makefile.bcc
+++ /dev/null
@@ -1,17 +0,0 @@
-
-# Copyright (C) Igor Sysoev
-# Copyright (C) Nginx, Inc.
-
-
-CFLAGS = -q -O2 -tWM -w-8004 -w-8012 $(CPU_OPT)
-
-zlib.lib:
- cd $(ZLIB)
-
- bcc32 -c $(CFLAGS) adler32.c crc32.c deflate.c \
- trees.c zutil.c compress.c \
- inflate.c inffast.c inftrees.c
-
- tlib zlib.lib +adler32.obj +crc32.obj +deflate.obj \
- +trees.obj +zutil.obj +compress.obj \
- +inflate.obj +inffast.obj +inftrees.obj
diff --git a/app/nginx/auto/lib/zlib/makefile.msvc b/app/nginx/auto/lib/zlib/makefile.msvc
deleted file mode 100644
index 6fbd691..0000000
--- a/app/nginx/auto/lib/zlib/makefile.msvc
+++ /dev/null
@@ -1,17 +0,0 @@
-
-# Copyright (C) Igor Sysoev
-# Copyright (C) Nginx, Inc.
-
-
-CFLAGS = -nologo -O2 -Ob1 -Oi -Gs $(LIBC) $(CPU_OPT)
-
-zlib.lib:
- cd $(ZLIB)
-
- cl -c $(CFLAGS) adler32.c crc32.c deflate.c \
- trees.c zutil.c compress.c \
- inflate.c inffast.c inftrees.c
-
- link -lib -out:zlib.lib adler32.obj crc32.obj deflate.obj \
- trees.obj zutil.obj compress.obj \
- inflate.obj inffast.obj inftrees.obj
diff --git a/app/nginx/auto/lib/zlib/makefile.owc b/app/nginx/auto/lib/zlib/makefile.owc
deleted file mode 100644
index 9e123be..0000000
--- a/app/nginx/auto/lib/zlib/makefile.owc
+++ /dev/null
@@ -1,14 +0,0 @@
-
-# Copyright (C) Igor Sysoev
-# Copyright (C) Nginx, Inc.
-
-
-CFLAGS = -zq -bt=nt -ot -op -oi -oe -s -bm $(CPU_OPT)
-
-zlib.lib:
- cd $(ZLIB)
-
- wcl386 -c $(CFLAGS) adler32.c crc32.c deflate.c trees.c zutil.c &
- compress.c inflate.c inffast.c inftrees.c
- wlib -n zlib.lib adler32.obj crc32.obj deflate.obj trees.obj &
- zutil.obj compress.obj inflate.obj inffast.obj inftrees.obj