提交 4a4a5152 编写于 作者: M Michal Privoznik 提交者: Daniel P. Berrange

configure: Link witch -lacl only on linux

There's no -lacl on FreeBSD.
Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
上级 1d29c889
......@@ -320,7 +320,7 @@ AC_CHECK_FUNCS([stat stat64 __xstat __xstat64 lstat lstat64 __lxstat __lxstat64]
ACL_CFLAGS=""
ACL_LIBS=""
if test "x$ac_cv_header_sys_acl_h" = "xyes" ; then
if test "x$ac_cv_header_sys_acl_h:x$with_linux" = "xyes:xyes" ; then
ACL_LIBS="-lacl"
fi
AC_SUBST([ACL_CFLAGS])
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册