upstream nginx-0.7.31
[nginx.git] / nginx / auto / lib / google-perftools / conf
1
2 # Copyright (C) Igor Sysoev
3
4
5     ngx_feature="Google perftools"
6     ngx_feature_name=
7     ngx_feature_run=no
8     ngx_feature_incs=
9     ngx_feature_path=
10     ngx_feature_libs="-lprofiler"
11     ngx_feature_test="ProfilerStop()"
12     . auto/feature
13
14
15 if [ $ngx_found = no ]; then
16
17     # FreeBSD port
18
19     ngx_feature="Google perftools in /usr/local/"
20
21     if [ $NGX_RPATH = YES ]; then
22         ngx_feature_libs="-R/usr/local/lib -L/usr/local/lib -lprofiler"
23     else
24         ngx_feature_libs="-L/usr/local/lib -lprofiler"
25     fi
26
27     . auto/feature
28 fi
29
30
31 if [ $ngx_found = yes ]; then
32     CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
33 fi