Mercurial > hg > nginx-quic
comparison auto/lib/google-perftools/conf @ 1949:e5ce4e2de846
ngx_google_perftools_module
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 18 Mar 2008 10:36:27 +0000 |
parents | |
children | da1ba8a5c8c9 |
comparison
equal
deleted
inserted
replaced
1948:52b6be1e2cab | 1949:e5ce4e2de846 |
---|---|
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 |