diff options
author | Alexander Tsoy <alexander@tsoy.me> | 2015-07-02 01:42:21 +0300 |
---|---|---|
committer | Alexander Tsoy <alexander@tsoy.me> | 2015-07-02 01:42:21 +0300 |
commit | 46d7f811ba2206f2723a08567577a8ca2c51f744 (patch) | |
tree | 529047dc89ccfbcaafcb6084a5728161dbcc2cc1 | |
parent | accb988cad3a5d196a19a087c24075e40cc9c608 (diff) | |
download | dleyna-server-46d7f811ba2206f2723a08567577a8ca2c51f744.tar.gz |
[m4] Don't use bash "let" builtin
Signed-off-by: Alexander Tsoy <alexander@tsoy.me>
-rwxr-xr-x | 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} |