summaryrefslogtreecommitdiff
path: root/autoconf/ast_check_pwlib.m4
diff options
context:
space:
mode:
Diffstat (limited to 'autoconf/ast_check_pwlib.m4')
-rw-r--r--autoconf/ast_check_pwlib.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/autoconf/ast_check_pwlib.m4 b/autoconf/ast_check_pwlib.m4
index 4588fa3b1..8ec2d58a0 100644
--- a/autoconf/ast_check_pwlib.m4
+++ b/autoconf/ast_check_pwlib.m4
@@ -200,7 +200,7 @@ AC_DEFUN([AST_CHECK_PWLIB_VERSION], [
$2_BUILD_NUMBER=`echo ${$2_VERSION} | cut -f3 -d.`
$2_VER=$((${$2_MAJOR_VERSION}*10000+${$2_MINOR_VERSION}*100+${$2_BUILD_NUMBER}))
$2_REQ=$(($4*10000+$5*100+$6))
- $2_MAX=m4_ifblank([$10], [9999999], [$(($8*10000+$9*100+$10))])
+ $2_MAX=m4_ifval([$10], [$(($8*10000+$9*100+$10))], [9999999])
AC_MSG_CHECKING(if $1 version ${$2_VERSION} is compatible with chan_h323)
if test ${$2_VER} -lt ${$2_REQ}; then