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

@@ -10,7 +10,6 @@ libmisc_a_SOURCES = \
age.c \
audit_help.c \
basename.c \
btrfs.c \
chkname.c \
chkname.h \
chowndir.c \
@@ -73,3 +72,8 @@ libmisc_a_SOURCES = \
xgetspnam.c \
xmalloc.c \
yesno.c
if WITH_BTRFS
libmisc_a_SOURCES += btrfs.c
endif