Skip to content
Commit 38d45f74 authored by Chong Lu's avatar Chong Lu Committed by Martin Jansa
Browse files

vim: don't check acl header if acl support disabled



Vim/vim-tiny always check 'sys/acl.h' existence even acl support
has been disabled from configure line. This works in mostly time
but except for acl works in an odd mode - while acl was mirrored
from sstate_cache, it will install 'sys/acl.h' to sysroot dir and
and then clean the header file with sysroot_cleansstate().

If build vim/vim-tiny and acl in parallel, below errors will occur:

* os_unix.c:2668:23: fatal error: sys/acl.h: No such file or directory

This change only workaround the failure and get build running, we
still need to fix it from acl side.

Signed-off-by: default avatarWenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: default avatarRandy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: default avatarChong Lu <Chong.Lu@windriver.com>
Signed-off-by: default avatarMartin Jansa <Martin.Jansa@gmail.com>
parent 9dfa0411
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment