Add autotools support for BtrFS option

Feature is enabled by default, if headers are available. It can be
turned off explictly.
This commit is contained in:
Adam Majer
2019-01-23 16:17:05 +01:00
committed by Serge Hallyn
parent c1d36a8acb
commit 50b23584d7
6 changed files with 39 additions and 3 deletions

View File

@@ -73,10 +73,12 @@ extern int expire (const struct passwd *, /*@null@*/const struct spwd *);
extern int isexpired (const struct passwd *, /*@null@*/const struct spwd *);
/* btrfs.c */
#ifdef WITH_BTRFS
extern int btrfs_create_subvolume(const char *path);
extern int btrfs_remove_subvolume(const char *path);
extern int btrfs_is_subvolume(const char *path);
extern int is_btrfs(const char *path);
#endif
/* basename() renamed to Basename() to avoid libc name space confusion */
/* basename.c */