https://origsvn.digium.com/svn/asterisk/branches/1.8
........
r316193 | tzafrir | 2011-05-03 13:57:16 +0300 (ג', 03 מאי 2011) | 8 lines
Re-fix bashism in ./configure: s/let/$(( ))/
A forward-port in r278985 accidentally re-introduced issue 17485. Fixing
it. Thanks to Jilles Tjoelker for the good report.
(closes issue #17485)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@316520
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
$2_VER=$((${$2_MAJOR_VERSION}*10000+${$2_MINOR_VERSION}*100+${$2_BUILD_NUMBER}))
$2_REQ=$(($4*10000+$5*100+$6))
if test "x$10" = "x"; then
- let $2_MAX=9999999
+ $2_MAX=9999999
else
- let $2_MAX=$8*10000+$9*100+$10
+ $2_MAX=$(($8*10000+$9*100+$10))
fi
AC_MSG_CHECKING(if $1 version ${$2_VERSION} is compatible with chan_h323)
PWLIB_VER=$((${PWLIB_MAJOR_VERSION}*10000+${PWLIB_MINOR_VERSION}*100+${PWLIB_BUILD_NUMBER}))
PWLIB_REQ=$((1*10000+9*100+2))
if test "x" = "x"; then
- let PWLIB_MAX=9999999
+ PWLIB_MAX=9999999
else
- let PWLIB_MAX=*10000+*100+
+ PWLIB_MAX=$((*10000+*100+))
fi
{ $as_echo "$as_me:$LINENO: checking if PWLib version ${PWLIB_VERSION} is compatible with chan_h323" >&5
OPENH323_VER=$((${OPENH323_MAJOR_VERSION}*10000+${OPENH323_MINOR_VERSION}*100+${OPENH323_BUILD_NUMBER}))
OPENH323_REQ=$((1*10000+17*100+3))
if test "x0" = "x"; then
- let OPENH323_MAX=9999999
+ OPENH323_MAX=9999999
else
- let OPENH323_MAX=1*10000+19*100+0
+ OPENH323_MAX=$((1*10000+19*100+0))
fi
{ $as_echo "$as_me:$LINENO: checking if OpenH323 version ${OPENH323_VERSION} is compatible with chan_h323" >&5