Only enable the ACL restore logic on FreeBSD versions >= 5.0.

Earlier versions of FreeBSD don't support ACLs.

Note that the ACL support code in archive_entry is standalone code and
unaffected by this.  (In particular, it should be possible to
manipulate archives containing ACLs even if the ACLs cannot be
restored on the current system.)
This commit is contained in:
Tim Kientzle 2004-04-16 01:20:58 +00:00
parent ef617c0842
commit 32ace24809

View file

@ -45,7 +45,10 @@
*/
#include <inttypes.h> /* For int64_t, etc. */
#if __FreeBSD__ > 4
#define HAVE_POSIX_ACL 1
#endif
#define HAVE_CHFLAGS 1
#define HAVE_LUTIMES 1
#define HAVE_LCHMOD 1