summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Tsoy <alexander@tsoy.me>2015-07-01 23:33:45 +0300
committerAlexander Tsoy <alexander@tsoy.me>2015-07-02 01:32:55 +0300
commit6d689998b03e0ba81258d7258f4b1942bbca764e (patch)
tree32fc8e2ba69f06613395ea304284e5ccb0b40352
parentd161d1616d4cb32a8c1e23a0587ee37e3ab0deb0 (diff)
downloaddleyna-core-6d689998b03e0ba81258d7258f4b1942bbca764e.tar.gz
[m4] Don't use bash "let" builtin
Fixes the following configure error: checking for --with-log-level=7... ./configure: 12691: ./configure.lineno: let: not found 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 a258a58..276e7f1 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}