blob: 9efd7e5587bc86d99e60cca46de768d24d89b35f [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001Subject: [PATCH] autogen: increase timeout limit for shell commands
2
3On some overloaded hosts, shell commands of autogen may can not
4finish in 5 secs. This has caused many build failures, so increase
5the timeout limit to fix this.
6
7Upstream-Status: Inappropriate [configuration]
8
9Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
10---
11 configure.ac | 6 +++---
12 1 file changed, 3 insertions(+), 3 deletions(-)
13
14diff --git a/configure.ac b/configure.ac
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050015index 58a848b..170dd9e 100644
Patrick Williamsc124f4f2015-09-15 14:41:29 -050016--- a/configure.ac
17+++ b/configure.ac
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050018@@ -178,9 +178,9 @@ time_delta=`expr ${config_end_time} - ${config_start_time} 2>/dev/null`
19 if test -z "${AG_TIMEOUT}"
20 then
21 if test -z "${time_delta}"
22- then time_delta=10
23- elif test ${time_delta} -lt 5
24- then time_delta=5 ; fi
25+ then time_delta=60
26+ elif test ${time_delta} -lt 30
27+ then time_delta=30 ; fi
Patrick Williamsc124f4f2015-09-15 14:41:29 -050028
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050029 AG_TIMEOUT=${time_delta}
30 fi