summaryrefslogtreecommitdiff
path: root/m4/ax_perl_module_version.m4
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2014-10-23 12:03:17 +0200
committerPeter Simons <simons@cryp.to>2014-10-23 12:03:17 +0200
commit416d91b0d472110545b908cc50c3facf7aeabab8 (patch)
tree01c09a7880708ac8951bcbd93d81bca6580ed395 /m4/ax_perl_module_version.m4
parentd7cd1664417a32563b60b3f4555e6d9aad56c584 (diff)
downloadautoconf-archive-416d91b0d472110545b908cc50c3facf7aeabab8.tar.gz
AX_PERL_MODULE_VERSION: use more portable syntax for shell arithmetic
Diffstat (limited to 'm4/ax_perl_module_version.m4')
-rw-r--r--m4/ax_perl_module_version.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/ax_perl_module_version.m4 b/m4/ax_perl_module_version.m4
index 01ae950..5754ea9 100644
--- a/m4/ax_perl_module_version.m4
+++ b/m4/ax_perl_module_version.m4
@@ -28,7 +28,7 @@
# and this notice are preserved. This file is offered as-is, without any
# warranty.
-#serial 6
+#serial 7
AU_ALIAS([AC_PERL_MODULE_VERSION], [AX_PERL_MODULE_VERSION])
AC_DEFUN([AX_PERL_MODULE_VERSION],[dnl
@@ -40,7 +40,7 @@ fi
# Check the number of arguments
args_num=`echo $ac_perl_list_modules | wc -w`
-let "check_args = $args_num % 2"
+check_args=$(( $args_num % 2 ))
if test "$check_args" = "1" ; then
AC_MSG_ERROR(syntax error)
else