trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iga...@apache.org
Subject [14/21] git commit: TS-1314: Remove TS_ARG_MAX from autoconf
Date Fri, 21 Sep 2012 10:04:40 GMT
TS-1314: Remove TS_ARG_MAX from autoconf


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

Branch: refs/heads/3.2.x
Commit: c8465704ab522fe762eb3e532aaa3efe141834c6
Parents: f2e8568
Author: James Peach <jpeach@apache.org>
Authored: Thu Jun 28 22:16:59 2012 -0700
Committer: Igor Galić <i.galic@brainsware.org>
Committed: Fri Sep 21 08:49:04 2012 +0200

----------------------------------------------------------------------
 configure.ac           |   16 ----------------
 lib/ts/ink_config.h.in |    4 ----
 2 files changed, 0 insertions(+), 20 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/c8465704/configure.ac
----------------------------------------------------------------------
diff --git a/configure.ac b/configure.ac
index f7c97df..a22f4b5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1044,22 +1044,6 @@ TS_CHECK_JEMALLOC
 TS_CHECK_TCMALLOC
 
 #
-# Determine ARG_MAX
-# Default to 2048 if we cannot resolve ARG_MAX for some reason
-AC_ARG_WITH([arg_max],
-  [AS_HELP_STRING([--with-arg-max=[ARG_MAX]],[override the computed maxmium argument length])],
-  [
-  arg_max="$withval"
-  ],[
-  arg_max="`getconf ARG_MAX`"
-  if test "x${arg_max}" = x ; then
-    arg_max=2048
-  fi
-  ]
-)
-AC_SUBST(arg_max)
-
-#
 # Check for libreadline/libedit
 AX_LIB_READLINE
 

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/c8465704/lib/ts/ink_config.h.in
----------------------------------------------------------------------
diff --git a/lib/ts/ink_config.h.in b/lib/ts/ink_config.h.in
index dd6a007..60bd779 100644
--- a/lib/ts/ink_config.h.in
+++ b/lib/ts/ink_config.h.in
@@ -152,12 +152,8 @@
 # define TS_MAX_THREADS_IN_EACH_THREAD_TYPE  @max_threads_per_type@
 # define TS_MAX_NUMBER_EVENT_THREADS  @max_event_threads@
 
-# define TS_ARG_MAX	                @arg_max@
-# define TS_ARG_MAX_STR                 "@arg_max@"
-
 # define TS_MAX_HOST_NAME_LEN           @max_host_name_len@
 
-
 #if TS_HAS_INKAPI
 #define TS_MAX_API_STATS               @max_api_stats@
 /* XXX: Should make those individually selectable ? */


Mime
View raw message