You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by no...@apache.org on 2017/01/30 22:14:13 UTC
[trafficserver] branch master updated (cf33b5b -> d807e8e)
This is an automated email from the ASF dual-hosted git repository.
nottheoilrig pushed a change to branch master
in repository https://git-dual.apache.org/repos/asf/trafficserver.git.
from cf33b5b SSL_CTX_remove_session() and external cache
new c813dc8 TS-1768: AC_SEARCH_LIBS adds -llibrary to LIBS
new d807e8e TS-235: AC_CHECK_SIZEOF defines SIZEOF_VOIDP
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
build/jemalloc.m4 | 1 -
build/tcmalloc.m4 | 1 -
cmd/traffic_crashlog/traffic_crashlog.h | 4 ++--
cmd/traffic_layout/traffic_layout.cc | 2 +-
configure.ac | 1 -
lib/ts/ink_config.h.in | 1 -
6 files changed, 3 insertions(+), 7 deletions(-)
--
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].
[trafficserver] 02/02: TS-235: AC_CHECK_SIZEOF defines SIZEOF_VOIDP
Posted by no...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
nottheoilrig pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/trafficserver.git
commit d807e8e71fd6dd379b08d9f748a3de0de4af33dc
Author: Jack Bates <ja...@nottheoilrig.com>
AuthorDate: Sun Jan 29 12:31:04 2017 -0700
TS-235: AC_CHECK_SIZEOF defines SIZEOF_VOIDP
So SIZEOF_VOID_POINTER is redundant.
---
cmd/traffic_crashlog/traffic_crashlog.h | 4 ++--
cmd/traffic_layout/traffic_layout.cc | 2 +-
configure.ac | 1 -
lib/ts/ink_config.h.in | 1 -
4 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/cmd/traffic_crashlog/traffic_crashlog.h b/cmd/traffic_crashlog/traffic_crashlog.h
index ee49a17..2def980 100644
--- a/cmd/traffic_crashlog/traffic_crashlog.h
+++ b/cmd/traffic_crashlog/traffic_crashlog.h
@@ -40,10 +40,10 @@
#define LABELFMT "%-20s"
// Printf format for memory addresses.
-#if SIZEOF_VOID_POINTER == 8
+#if SIZEOF_VOIDP == 8
#define ADDRFMT "0x%016" PRIx64
#define ADDRCAST(x) ((uint64_t)(x))
-#elif SIZEOF_VOID_POINTER == 4
+#elif SIZEOF_VOIDP == 4
#define ADDRFMT "0x%08" PRIx32
#define ADDRCAST(x) ((uint32_t)(x))
#else
diff --git a/cmd/traffic_layout/traffic_layout.cc b/cmd/traffic_layout/traffic_layout.cc
index 463e079..b6003d5 100644
--- a/cmd/traffic_layout/traffic_layout.cc
+++ b/cmd/traffic_layout/traffic_layout.cc
@@ -103,7 +103,7 @@ produce_features(bool json)
print_feature("TS_USE_LINUX_NATIVE_AIO", TS_USE_LINUX_NATIVE_AIO, json);
print_feature("TS_HAS_SO_PEERCRED", TS_HAS_SO_PEERCRED, json);
print_feature("TS_USE_REMOTE_UNWINDING", TS_USE_REMOTE_UNWINDING, json);
- print_feature("SIZEOF_VOID_POINTER", SIZEOF_VOID_POINTER, json);
+ print_feature("SIZEOF_VOIDP", SIZEOF_VOIDP, json);
print_feature("TS_IP_TRANSPARENT", TS_IP_TRANSPARENT, json);
print_feature("TS_HAS_128BIT_CAS", TS_HAS_128BIT_CAS, json);
print_feature("TS_HAS_TESTS", TS_HAS_TESTS, json);
diff --git a/configure.ac b/configure.ac
index 9fd5172..699e8dd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -954,7 +954,6 @@ AC_CHECK_SIZEOF([void*])
if test "x$ac_cv_sizeof_voidp" == "x"; then
AC_ERROR([Cannot determine size of void*])
fi
-AC_SUBST(ac_cv_sizeof_voidp)
# Right now, 32-bit platform is a build error, unless we've forced it with --enable-32bit-build
if test "${ac_cv_sizeof_voidp}" = "4"; then
diff --git a/lib/ts/ink_config.h.in b/lib/ts/ink_config.h.in
index 45cfbcc..6fbafd0 100644
--- a/lib/ts/ink_config.h.in
+++ b/lib/ts/ink_config.h.in
@@ -84,7 +84,6 @@
#define TS_HAS_SO_PEERCRED @has_so_peercred@
/* OS API definitions */
-#define SIZEOF_VOID_POINTER @ac_cv_sizeof_voidp@
#define TS_IP_TRANSPARENT @ip_transparent@
#define TS_HAS_128BIT_CAS @has_128bit_cas@
--
To stop receiving notification emails like this one, please contact
"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>.
[trafficserver] 01/02: TS-1768: AC_SEARCH_LIBS adds -llibrary to
LIBS
Posted by no...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
nottheoilrig pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/trafficserver.git
commit c813dc88990b088b8b4218bd57e93242a9197e75
Author: Jack Bates <ja...@nottheoilrig.com>
AuthorDate: Sun Jan 29 10:21:05 2017 -0700
TS-1768: AC_SEARCH_LIBS adds -llibrary to LIBS
So TS_ADDTO([LIBS], [-llibrary]) is redundant.
---
build/jemalloc.m4 | 1 -
build/tcmalloc.m4 | 1 -
2 files changed, 2 deletions(-)
diff --git a/build/jemalloc.m4 b/build/jemalloc.m4
index a8c60b3..3a4ed48 100644
--- a/build/jemalloc.m4
+++ b/build/jemalloc.m4
@@ -68,7 +68,6 @@ if test "$enable_jemalloc" != "no"; then
fi
if test "$jemalloc_have_headers" != "0"; then
jemalloch=1
- TS_ADDTO(LIBS, [-ljemalloc])
else
CPPFLAGS=$saved_cppflags
LDFLAGS=$saved_ldflags
diff --git a/build/tcmalloc.m4 b/build/tcmalloc.m4
index 1533df4..99657ca 100644
--- a/build/tcmalloc.m4
+++ b/build/tcmalloc.m4
@@ -45,7 +45,6 @@ AC_ARG_WITH([tcmalloc], [AC_HELP_STRING([--with-tcmalloc=DIR], [use the tcmalloc
fi
AC_SEARCH_LIBS([tc_cfree], ${with_tcmalloc_lib}, [tcmalloc_have_lib=1])
if test "$tcmalloc_have_lib" != "0"; then
- TS_ADDTO(LIBS, [-l${with_tcmalloc_lib}])
has_tcmalloc=1
fi
fi
--
To stop receiving notification emails like this one, please contact
"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>.