From 109d3953a2f798ed24e28329b5490562cc433eb1 Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Mon, 7 Jun 2010 20:55:11 +0300 Subject: [PATCH] remove bashism from ast_check_pwlib.m4 --- autoconf/ast_check_pwlib.m4 | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/autoconf/ast_check_pwlib.m4 b/autoconf/ast_check_pwlib.m4 index f92fb2c..876c508 100644 --- a/autoconf/ast_check_pwlib.m4 +++ b/autoconf/ast_check_pwlib.m4 @@ -202,8 +202,8 @@ AC_DEFUN([AST_CHECK_PWLIB_VERSION], [ $2_MAJOR_VERSION=`echo ${$2_VERSION} | cut -f1 -d.` $2_MINOR_VERSION=`echo ${$2_VERSION} | cut -f2 -d.` $2_BUILD_NUMBER=`echo ${$2_VERSION} | cut -f3 -d.` - let $2_VER=${$2_MAJOR_VERSION}*10000+${$2_MINOR_VERSION}*100+${$2_BUILD_NUMBER} - let $2_REQ=$4*10000+$5*100+$6 + $2_VER=$((${$2_MAJOR_VERSION}*10000+${$2_MINOR_VERSION}*100+${$2_BUILD_NUMBER})) + $2_REQ=$(($4*10000+$5*100+$6)) AC_MSG_CHECKING(if $1 version ${$2_VERSION} is compatible with chan_h323) if test ${$2_VER} -lt ${$2_REQ}; then -- 1.7.1