summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Tsoy <alexander@tsoy.me>2015-07-01 23:47:07 +0300
committerAlexander Tsoy <alexander@tsoy.me>2015-07-01 23:55:10 +0300
commit824cfa589973a624f49e08f597bf81d0d5ce4a87 (patch)
tree672af6f9a167463b7d4635c80487b3b38af918ed
parentaa5a6b765fe00f2d3d1372ee545677aaf04de5b6 (diff)
downloaddleyna-connector-dbus-824cfa589973a624f49e08f597bf81d0d5ce4a87.tar.gz
[m4] Don't use bash "let" builtin
Signed-off-by: Alexander Tsoy <alexander@tsoy.me>
-rw-r--r--m4/log.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/log.m4 b/m4/log.m4
index abc5a6e..be34df4 100644
--- a/m4/log.m4
+++ b/m4/log.m4
@@ -27,7 +27,7 @@ AC_DEFUN([_DLEYNA_LOG_LEVEL_CHECK_VALUE],
[
AC_MSG_ERROR(["Log levels 0, 7 and 8 cannot be combined with other values"], 1)
])
- let log_level_count++
+ : $((log_level_count++))
],
[0|7|8], [AS_IF([test ${log_level_count} -ne 0],
@@ -60,7 +60,7 @@ AC_DEFUN([DLEYNA_LOG_LEVEL_CHECK],
IFS=","
log_name=LOG_LEVEL_${log_level}
eval log_value=\$${log_name}
- let "LOG_LEVEL |= ${log_value}"
+ : $((LOG_LEVEL |= ${log_value}))
done
IFS=${old_IFS}