Merge topic 'libarchive-no-acl'
d9b59179
libarchive: Skip finding libacl.h when ENABLE_ACL is OFF (#14866)
This commit is contained in:
commit
e13ff189d1
|
@ -350,7 +350,11 @@ ENDMACRO (LA_CHECK_INCLUDE_FILE)
|
|||
LA_CHECK_INCLUDE_FILE("sys/types.h" HAVE_SYS_TYPES_H)
|
||||
|
||||
# Alphabetize the rest unless there's a compelling reason
|
||||
IF(ENABLE_ACL)
|
||||
LA_CHECK_INCLUDE_FILE("acl/libacl.h" HAVE_ACL_LIBACL_H)
|
||||
ELSE(ENABLE_ACL)
|
||||
SET(HAVE_ACL_LIBACL_H FALSE)
|
||||
ENDIF(ENABLE_ACL)
|
||||
LA_CHECK_INCLUDE_FILE("ctype.h" HAVE_CTYPE_H)
|
||||
LA_CHECK_INCLUDE_FILE("copyfile.h" HAVE_COPYFILE_H)
|
||||
LA_CHECK_INCLUDE_FILE("direct.h" HAVE_DIRECT_H)
|
||||
|
|
Loading…
Reference in New Issue