diff options
author | Alexander Tsoy <alexander@tsoy.me> | 2015-07-01 23:47:07 +0300 |
---|---|---|
committer | Alexander Tsoy <alexander@tsoy.me> | 2015-07-01 23:55:10 +0300 |
commit | 824cfa589973a624f49e08f597bf81d0d5ce4a87 (patch) | |
tree | 672af6f9a167463b7d4635c80487b3b38af918ed /m4 | |
parent | aa5a6b765fe00f2d3d1372ee545677aaf04de5b6 (diff) | |
download | dleyna-connector-dbus-824cfa589973a624f49e08f597bf81d0d5ce4a87.tar.gz |
[m4] Don't use bash "let" builtin
Signed-off-by: Alexander Tsoy <alexander@tsoy.me>
Diffstat (limited to 'm4')
-rw-r--r-- | m4/log.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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} |