Skip to content
Snippets Groups Projects
Commit 2743e9b2 authored by Tzafrir Cohen's avatar Tzafrir Cohen
Browse files

bashism in configure script

Theoretically the ./configure script is a pure bourne-shell script.
Practically it may be run by bash if /bin/sh is not good enough. But we should not count on it. See bug report for the gory details.

(closes issue #17485)
Patches:
      0001-remove-bashism-from-ast_check_pwlib.m4.patch uploaded by tzafrir (license 46)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@270184 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 41821558
No related branches found
No related tags found
No related merge requests found
...@@ -202,8 +202,8 @@ AC_DEFUN([AST_CHECK_PWLIB_VERSION], [ ...@@ -202,8 +202,8 @@ AC_DEFUN([AST_CHECK_PWLIB_VERSION], [
$2_MAJOR_VERSION=`echo ${$2_VERSION} | cut -f1 -d.` $2_MAJOR_VERSION=`echo ${$2_VERSION} | cut -f1 -d.`
$2_MINOR_VERSION=`echo ${$2_VERSION} | cut -f2 -d.` $2_MINOR_VERSION=`echo ${$2_VERSION} | cut -f2 -d.`
$2_BUILD_NUMBER=`echo ${$2_VERSION} | cut -f3 -d.` $2_BUILD_NUMBER=`echo ${$2_VERSION} | cut -f3 -d.`
let $2_VER=${$2_MAJOR_VERSION}*10000+${$2_MINOR_VERSION}*100+${$2_BUILD_NUMBER} $2_VER=$((${$2_MAJOR_VERSION}*10000+${$2_MINOR_VERSION}*100+${$2_BUILD_NUMBER}))
let $2_REQ=$4*10000+$5*100+$6 $2_REQ=$(($4*10000+$5*100+$6))
AC_MSG_CHECKING(if $1 version ${$2_VERSION} is compatible with chan_h323) AC_MSG_CHECKING(if $1 version ${$2_VERSION} is compatible with chan_h323)
if test ${$2_VER} -lt ${$2_REQ}; then if test ${$2_VER} -lt ${$2_REQ}; then
......
Source diff could not be displayed: it is too large. Options to address this: view the blob.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment