Set --disable-setcap as default for !Linux platforms
Signed-off-by: Gleb Popov <6yearold@gmail.com> Change-Id: I67e211a94870e46b19426c68d599e7048543a8f5
This commit is contained in:
parent
b948e431f3
commit
2716cc7155
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue