trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject [3/3] git commit: TS-2130: pthread_setname_np() detection fails on various platforms
Date Sun, 11 Aug 2013 22:12:41 GMT
TS-2130: pthread_setname_np() detection fails on various platforms


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/b7d9570f
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/b7d9570f
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/b7d9570f

Branch: refs/heads/3.4.x
Commit: b7d9570fc384e8c72d18eb548f7e4afb79d335e9
Parents: 8be7906
Author: James Peach <jpeach@apache.org>
Authored: Sun Aug 11 13:42:48 2013 -0700
Committer: Leif Hedstrom <zwoop@apache.org>
Committed: Sun Aug 11 16:10:08 2013 -0600

----------------------------------------------------------------------
 CHANGES      | 2 ++
 configure.ac | 6 +++---
 2 files changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/b7d9570f/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index e3950c9..19c37b7 100644
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,8 @@
 Changes with Apache Traffic Server 3.4.0
 
 
+  *) [TS-2130] pthread_setname_np() detection fails on various platforms.
+
   *) [TS-2129] Check for existence of ExtUtils::MakeMaker.
 
   *) [TS-2128] Don't link libGeoIP.so.1 into binaries

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/b7d9570f/configure.ac
----------------------------------------------------------------------
diff --git a/configure.ac b/configure.ac
index 483eb4b..101a6d6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1549,7 +1549,7 @@ AC_SUBST(netinet_ip_icmph)
 
 # Darwin pthread_setname_np:
 AC_MSG_CHECKING([for 1-parameter version of pthread_setname_np()])
-AC_COMPILE_IFELSE([
+AC_LINK_IFELSE([
     AC_LANG_PROGRAM([
 #if HAVE_PTHREAD_H
 #include <pthread.h>
@@ -1569,7 +1569,7 @@ AC_COMPILE_IFELSE([
 
 # Linux pthread_setname_np:
 AC_MSG_CHECKING([for 2-parameter version of pthread_setname_np()])
-AC_COMPILE_IFELSE([
+AC_LINK_IFELSE([
     AC_LANG_PROGRAM([
 #if HAVE_PTHREAD_H
 #include <pthread.h>
@@ -1589,7 +1589,7 @@ AC_COMPILE_IFELSE([
 
 # BSD pthread_set_name_np:
 AC_MSG_CHECKING([for 2-parameter version of pthread_set_name_np()])
-AC_COMPILE_IFELSE([
+AC_LINK_IFELSE([
     AC_LANG_PROGRAM([
 #if HAVE_PTHREAD_H
 #include <pthread.h>


Mime
View raw message