[nginx] svn commit: r4705 - trunk/auto/lib/google-perftools

ru at nginx.com ru at nginx.com
Tue Jun 26 08:15:40 UTC 2012


Author: ru
Date: 2012-06-26 08:15:40 +0000 (Tue, 26 Jun 2012)
New Revision: 4705
URL: http://trac.nginx.org/nginx/changeset/4705/nginx

Log:
Added MacPorts support.


Modified:
   trunk/auto/lib/google-perftools/conf

Modified: trunk/auto/lib/google-perftools/conf
===================================================================
--- trunk/auto/lib/google-perftools/conf	2012-06-25 18:09:38 UTC (rev 4704)
+++ trunk/auto/lib/google-perftools/conf	2012-06-26 08:15:40 UTC (rev 4705)
@@ -29,6 +29,22 @@
 fi
 
 
+if [ $ngx_found = no ]; then
+
+    # MacPorts
+
+    ngx_feature="Google perftools in /opt/local/"
+
+    if [ $NGX_RPATH = YES ]; then
+        ngx_feature_libs="-R/opt/local/lib -L/opt/local/lib -lprofiler"
+    else
+        ngx_feature_libs="-L/opt/local/lib -lprofiler"
+    fi
+
+    . auto/feature
+fi
+
+
 if [ $ngx_found = yes ]; then
     CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
 



More information about the nginx-devel mailing list