annotate auto/lib/google-perftools/conf @ 660:d0f7a625f27c NGINX_1_1_14

nginx 1.1.14 *) Feature: multiple "limit_req" limits may be used simultaneously. *) Bugfix: in error handling while connecting to a backend. Thanks to Piotr Sikora. *) Bugfix: in AIO error handling on FreeBSD. *) Bugfix: in the OpenSSL library initialization. *) Bugfix: the "proxy_redirect" directives might not be correctly inherited. *) Bugfix: memory leak during reconfiguration if the "pcre_jit" directive was used.
author Igor Sysoev <http://sysoev.ru>
date Mon, 30 Jan 2012 00:00:00 +0400
parents f39b9e29530d
children 981b4c44593b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
370
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
1
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
2 # Copyright (C) Igor Sysoev
660
d0f7a625f27c nginx 1.1.14
Igor Sysoev <http://sysoev.ru>
parents: 496
diff changeset
3 # Copyright (C) Nginx, Inc.
370
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
4
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
5
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
6 ngx_feature="Google perftools"
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
7 ngx_feature_name=
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
8 ngx_feature_run=no
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
9 ngx_feature_incs=
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
10 ngx_feature_path=
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
11 ngx_feature_libs="-lprofiler"
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
12 ngx_feature_test="ProfilerStop()"
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
13 . auto/feature
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
14
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
15
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
16 if [ $ngx_found = no ]; then
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
17
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
18 # FreeBSD port
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
19
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
20 ngx_feature="Google perftools in /usr/local/"
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
21
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
22 if [ $NGX_RPATH = YES ]; then
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
23 ngx_feature_libs="-R/usr/local/lib -L/usr/local/lib -lprofiler"
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
24 else
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
25 ngx_feature_libs="-L/usr/local/lib -lprofiler"
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
26 fi
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
27
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
28 . auto/feature
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
29 fi
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
30
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
31
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
32 if [ $ngx_found = yes ]; then
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
33 CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
496
f39b9e29530d nginx 0.8.0
Igor Sysoev <http://sysoev.ru>
parents: 370
diff changeset
34
f39b9e29530d nginx 0.8.0
Igor Sysoev <http://sysoev.ru>
parents: 370
diff changeset
35 else
f39b9e29530d nginx 0.8.0
Igor Sysoev <http://sysoev.ru>
parents: 370
diff changeset
36
f39b9e29530d nginx 0.8.0
Igor Sysoev <http://sysoev.ru>
parents: 370
diff changeset
37 cat << END
f39b9e29530d nginx 0.8.0
Igor Sysoev <http://sysoev.ru>
parents: 370
diff changeset
38
f39b9e29530d nginx 0.8.0
Igor Sysoev <http://sysoev.ru>
parents: 370
diff changeset
39 $0: error: the Google perftool module requires the Google perftools
f39b9e29530d nginx 0.8.0
Igor Sysoev <http://sysoev.ru>
parents: 370
diff changeset
40 library. You can either do not enable the module or install the library.
f39b9e29530d nginx 0.8.0
Igor Sysoev <http://sysoev.ru>
parents: 370
diff changeset
41
f39b9e29530d nginx 0.8.0
Igor Sysoev <http://sysoev.ru>
parents: 370
diff changeset
42 END
f39b9e29530d nginx 0.8.0
Igor Sysoev <http://sysoev.ru>
parents: 370
diff changeset
43
f39b9e29530d nginx 0.8.0
Igor Sysoev <http://sysoev.ru>
parents: 370
diff changeset
44 exit 1
370
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
45 fi