You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2017/11/07 22:21:49 UTC
[trafficserver] branch master updated: Move Brotli library check
into the library check section CFLAGS is getting set the default -g -O2.
When optimization is set on CFLAGS or CXXFLAGS,
optimization will not be added to the flags.
This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new fc69c42 Move Brotli library check into the library check section CFLAGS is getting set the default -g -O2. When optimization is set on CFLAGS or CXXFLAGS, optimization will not be added to the flags.
fc69c42 is described below
commit fc69c42e424f4be68467c232dcb0baced6b7d0fc
Author: Bryan Call <bc...@apache.org>
AuthorDate: Tue Nov 7 13:45:04 2017 -0800
Move Brotli library check into the library check section
CFLAGS is getting set the default -g -O2. When optimization is set on CFLAGS
or CXXFLAGS, optimization will not be added to the flags.
---
configure.ac | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/configure.ac b/configure.ac
index fd720d0..6a9a4a8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -457,12 +457,6 @@ AC_ARG_WITH([max-threads-per-type],
)
AC_SUBST(max_threads_per_type)
-# Check Brotli
-AC_CHECK_HEADERS([brotli/encode.h], [has_brotli=1],[has_brotli=0])
-AC_CHECK_LIB([brotlienc],[BrotliEncoderCreateInstance],[AC_SUBST([LIB_BROTLIENC],["-lbrotlienc"])],[has_brotli=0])
-AC_SUBST(has_brotli)
-AM_CONDITIONAL([HAS_BROTLI], [ test "x${has_brotli}" = "x1" ])
-
#
# Experimental plugins
#
@@ -1255,8 +1249,14 @@ if test "x${enable_pcre}" != "xyes"; then
AC_MSG_ERROR([Cannot find pcre library. Configure --with-pcre=DIR])
fi
-has_backtrace=0
+# Check Brotli
+AC_CHECK_HEADERS([brotli/encode.h], [has_brotli=1],[has_brotli=0])
+AC_CHECK_LIB([brotlienc],[BrotliEncoderCreateInstance],[AC_SUBST([LIB_BROTLIENC],["-lbrotlienc"])],[has_brotli=0])
+AC_SUBST(has_brotli)
+AM_CONDITIONAL([HAS_BROTLI], [ test "x${has_brotli}" = "x1" ])
+
# Check for backtrace() support
+has_backtrace=0
AC_CHECK_HEADERS([execinfo.h], [has_backtrace=1],[])
if test "${has_backtrace}" = "1"; then
# FreeBSD requires '/usr/ports/devel/libexecinfo' for gdb style backtrace() support
--
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].