Set --disable-setcap as default for !Linux platforms

Signed-off-by: Gleb Popov <6yearold@gmail.com>
Change-Id: I67e211a94870e46b19426c68d599e7048543a8f5
This commit is contained in:
Gleb Popov 2021-11-10 19:02:09 +03:00 committed by Andras Timar
parent b948e431f3
commit 2716cc7155

View file

@ -1175,10 +1175,10 @@ if test -n "$with_user_id"; then
fi
AC_DEFINE_UNQUOTED([COOL_USER_ID],["$COOL_USER_ID"],[The user-name which is allowed to run loolwsd and its tools])
AM_CONDITIONAL([ENABLE_SETCAP], [test "$enable_setcap" != "no"])
AM_CONDITIONAL([ENABLE_SETCAP], [test "$enable_setcap" != "no" -a `uname -s` = "Linux"])
ENABLE_SETCAP=
if test "$enable_setcap" != "no"; then
if test "$enable_setcap" != "no" -a `uname -s` = "Linux"; then
ENABLE_SETCAP=true
setcap_msg="setcap enabled"
else