1
2# Copyright (C) Igor Sysoev
3# Copyright (C) Nginx, Inc.
4
5
6if [ $USE_PCRE = YES -o $PCRE != NONE ]; then
7    . auto/lib/pcre/conf
8
9else
10    if [ $USE_PCRE = DISABLED -a $HTTP = YES -a $HTTP_REWRITE = YES ]; then
11
12cat << END
13
14$0: error: the HTTP rewrite module requires the PCRE library.
15You can either disable the module by using --without-http_rewrite_module
16option or you have to enable the PCRE support.
17
18END
19        exit 1
20    fi
21fi
22
23
24if [ $USE_OPENSSL = YES ]; then
25    . auto/lib/openssl/conf
26fi
27
28if [ $USE_ZLIB = YES ]; then
29    . auto/lib/zlib/conf
30fi
31
32if [ $USE_LIBXSLT != NO ]; then
33    . auto/lib/libxslt/conf
34fi
35
36if [ $USE_LIBGD != NO ]; then
37    . auto/lib/libgd/conf
38fi
39
40if [ $USE_PERL != NO ]; then
41    . auto/lib/perl/conf
42fi
43
44if [ $USE_GEOIP != NO ]; then
45    . auto/lib/geoip/conf
46fi
47
48if [ $NGX_GOOGLE_PERFTOOLS = YES ]; then
49    . auto/lib/google-perftools/conf
50fi
51
52if [ $NGX_LIBATOMIC != NO ]; then
53    . auto/lib/libatomic/conf
54fi
55