From: Andreas Henriksson Date: Fri, 1 Jan 2010 22:20:30 +0000 (+0100) Subject: iproute2: avoid using bashisms in configure script. X-Git-Tag: v2.6.33~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14743a78eb774d61fd952c4a4856346ced79b9fb;p=thirdparty%2Fiproute2.git iproute2: avoid using bashisms in configure script. "function foo" should be "foo()" to work when sh is not bash. Signed-off-by: Andreas Henriksson --- diff --git a/configure b/configure index a903bb0c3..92a0b484d 100755 --- a/configure +++ b/configure @@ -3,7 +3,7 @@ # INCLUDE=${1:-"$PWD/include"} -function check_atm +check_atm() { cat >/tmp/atmtest.c < @@ -24,7 +24,7 @@ fi rm -f /tmp/atmtest.c /tmp/atmtest } -function check_xt +check_xt() { #check if we have xtables from iptables >= 1.4.5. cat >/tmp/ipttest.c < /dev/null @@ -94,7 +94,7 @@ fi rm -f /tmp/ipttest.c /tmp/ipttest } -function check_xt_old_internal_h +check_xt_old_internal_h() { # bail if previous XT checks has already succeded. if grep TC_CONFIG_XT Config > /dev/null @@ -134,7 +134,7 @@ fi rm -f /tmp/ipttest.c /tmp/ipttest } -function check_ipt +check_ipt() { if ! grep TC_CONFIG_XT Config > /dev/null then