2 # Copyright (C) Igor Sysoev
5 ngx_feature="Google perftools"
10 ngx_feature_libs="-lprofiler"
11 ngx_feature_test="ProfilerStop()"
15 if [ $ngx_found = no ]; then
19 ngx_feature="Google perftools in /usr/local/"
21 if [ $NGX_RPATH = YES ]; then
22 ngx_feature_libs="-R/usr/local/lib -L/usr/local/lib -lprofiler"
24 ngx_feature_libs="-L/usr/local/lib -lprofiler"
31 if [ $ngx_found = yes ]; then
32 CORE_LIBS="$CORE_LIBS $ngx_feature_libs"