2012-05-08 07:55:35 +02:00
|
|
|
|
|
|
|
|
# Copyright (C) Igor Sysoev
|
|
|
|
|
# Copyright (C) Nginx, Inc.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ $USE_PCRE = YES -o $PCRE != NONE ]; then
|
|
|
|
|
. auto/lib/pcre/conf
|
|
|
|
|
|
|
|
|
|
else
|
2017-08-09 09:05:28 +03:00
|
|
|
if [ $USE_PCRE = DISABLED -a $HTTP = YES -a $HTTP_REWRITE = YES ]; then
|
2012-05-08 07:55:35 +02:00
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
2016-02-11 15:06:14 +02:00
|
|
|
if [ $USE_LIBXSLT != NO ]; then
|
2012-05-08 07:55:35 +02:00
|
|
|
. auto/lib/libxslt/conf
|
|
|
|
|
fi
|
|
|
|
|
|
2016-02-11 15:06:14 +02:00
|
|
|
if [ $USE_LIBGD != NO ]; then
|
2012-05-08 07:55:35 +02:00
|
|
|
. auto/lib/libgd/conf
|
|
|
|
|
fi
|
|
|
|
|
|
2016-03-30 11:27:04 +03:00
|
|
|
if [ $USE_PERL != NO ]; then
|
2012-05-08 07:55:35 +02:00
|
|
|
. auto/lib/perl/conf
|
|
|
|
|
fi
|
|
|
|
|
|
2016-02-11 15:06:14 +02:00
|
|
|
if [ $USE_GEOIP != NO ]; then
|
2012-05-08 07:55:35 +02:00
|
|
|
. 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
|