libarchive / libarchive

Multi-format archive and compression library

Home Page:http://www.libarchive.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ENABLE_ACL vs HAVE_ACL_LIBACL_H

asolwa opened this issue · comments

Hi,

In CMake there is a ENABLE_ACL flag, but regardless of its value following check if always executed:

LA_CHECK_INCLUDE_FILE("acl/libacl.h" HAVE_ACL_LIBACL_H)

I think it should be conditionally disabled(based on ENABLE_ACL flag), shouldn't it?