r2292 - trunk/varnish-cache

phk at projects.linpro.no phk at projects.linpro.no
Tue Dec 11 10:02:29 CET 2007


Author: phk
Date: 2007-12-11 10:02:29 +0100 (Tue, 11 Dec 2007)
New Revision: 2292

Modified:
   trunk/varnish-cache/configure.ac
Log:
Check if our pthreads sports a pthread_set_name_np() function.


Modified: trunk/varnish-cache/configure.ac
===================================================================
--- trunk/varnish-cache/configure.ac	2007-12-11 07:02:24 UTC (rev 2291)
+++ trunk/varnish-cache/configure.ac	2007-12-11 09:02:29 UTC (rev 2292)
@@ -47,6 +47,8 @@
 LIBS=""
 AC_SEARCH_LIBS(pthread_create, [thr pthread c_r])
 PTHREAD_LIBS="${LIBS}"
+# Check for thread naming function
+AC_CHECK_FUNCS([pthread_set_name_np])
 LIBS="${save_LIBS}"
 AC_SUBST(PTHREAD_LIBS)
 
@@ -74,6 +76,7 @@
 AC_CHECK_HEADERS([stdlib.h])
 AC_CHECK_HEADERS([unistd.h])
 AC_CHECK_HEADERS([vis.h])
+AC_CHECK_HEADERS([pthread_np.h])
 
 # Checks for typedefs, structures, and compiler characteristics.
 AC_C_CONST




More information about the varnish-commit mailing list