configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 78fdcb903af7aaf75d57f22fba9059dfa46cad45 Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Sat Jan 28 19:14:57 2017 -0500
wsd: correct configuring MAX_DOCUMENTS Change-Id: I14ffd990cdfb0206d93de01f42fc99efda4e6e8f Reviewed-on: https://gerrit.libreoffice.org/33671 Reviewed-by: Ashod Nakashian <ashnak...@gmail.com> Tested-by: Ashod Nakashian <ashnak...@gmail.com> diff --git a/configure.ac b/configure.ac index b029d53..f65b8e6 100644 --- a/configure.ac +++ b/configure.ac @@ -146,7 +146,7 @@ AC_DEFINE_UNQUOTED([MAX_CONNECTIONS],[$MAX_CONNECTIONS],[Limit the maximum numbe AC_SUBST(MAX_CONNECTIONS) MAX_DOCUMENTS=10 -AS_IF([test -n "$with_max_documents" -a "$with_max_documents" -gt "0" -a "$with_max_documents" -lt "$MAX_CONNECTIONS"], +AS_IF([test -n "$with_max_documents" -a "$with_max_documents" -gt "0"], [MAX_DOCUMENTS="$with_max_documents"]) AS_IF([test "$MAX_DOCUMENTS" -gt "$MAX_CONNECTIONS"], [MAX_DOCUMENTS="$MAX_CONNECTIONS"]) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits