Merged revisions 316193 via svnmerge from
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>
Wed, 4 May 2011 07:13:18 +0000 (07:13 +0000)
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>
Wed, 4 May 2011 07:13:18 +0000 (07:13 +0000)
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

autoconf/ast_check_pwlib.m4
configure

index 98f3eb7..ecacddb 100644 (file)
@@ -205,9 +205,9 @@ AC_DEFUN([AST_CHECK_PWLIB_VERSION], [
                $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)
index 877630a..1abf761 100755 (executable)
--- a/configure
+++ b/configure
@@ -45198,9 +45198,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
                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
@@ -46016,9 +46016,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
                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