Annotation of embedaddon/nginx/auto/lib/conf, revision 1.1.1.1
1.1 misho 1:
2: # Copyright (C) Igor Sysoev
3: # Copyright (C) Nginx, Inc.
4:
5:
6: if [ $USE_PCRE = YES -o $PCRE != NONE ]; then
7: . auto/lib/pcre/conf
8:
9: else
10: if [ $USE_PCRE = DISABLED -a $HTTP_REWRITE = YES ]; then
11:
12: cat << END
13:
14: $0: error: the HTTP rewrite module requires the PCRE library.
15: You can either disable the module by using --without-http_rewrite_module
16: option or you have to enable the PCRE support.
17:
18: END
19: exit 1
20: fi
21: fi
22:
23:
24: if [ $USE_OPENSSL = YES ]; then
25: . auto/lib/openssl/conf
26: fi
27:
28: if [ $USE_MD5 = YES ]; then
29:
30: if [ $USE_OPENSSL = YES ]; then
31: have=NGX_HAVE_OPENSSL_MD5_H . auto/have
32: have=NGX_OPENSSL_MD5 . auto/have
33: have=NGX_HAVE_MD5 . auto/have
34: MD5=YES
35: MD5_LIB=OpenSSL
36:
37: else
38: . auto/lib/md5/conf
39: fi
40:
41: fi
42:
43: if [ $USE_SHA1 = YES ]; then
44:
45: if [ $USE_OPENSSL = YES ]; then
46: have=NGX_HAVE_OPENSSL_SHA1_H . auto/have
47: have=NGX_HAVE_SHA1 . auto/have
48: SHA1=YES
49: SHA1_LIB=OpenSSL
50:
51: else
52: . auto/lib/sha1/conf
53: fi
54:
55: fi
56:
57: if [ $USE_ZLIB = YES ]; then
58: . auto/lib/zlib/conf
59: fi
60:
61: if [ $USE_LIBXSLT = YES ]; then
62: . auto/lib/libxslt/conf
63: fi
64:
65: if [ $USE_LIBGD = YES ]; then
66: . auto/lib/libgd/conf
67: fi
68:
69: if [ $USE_PERL = YES ]; then
70: . auto/lib/perl/conf
71: fi
72:
73: if [ $HTTP_GEOIP = YES ]; then
74: . auto/lib/geoip/conf
75: fi
76:
77: if [ $NGX_GOOGLE_PERFTOOLS = YES ]; then
78: . auto/lib/google-perftools/conf
79: fi
80:
81: if [ $NGX_LIBATOMIC != NO ]; then
82: . auto/lib/libatomic/conf
83: fi
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>