From 5a9713293d5f0e20230646fc403ec4a5bf8c1a1f Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 26 Jan 2016 14:39:13 +0100 Subject: libmount: consolidate btrfs stuff, make it more portable - add --with-btrfs (enabled by default) - check for linux/btrfs.h - add "btrfs" to libmount features list (see mount -V) - #ifdef HAVE_BTRFS_SUPPORT for all btrfs stuff in libmount Signed-off-by: Karel Zak --- libmount/src/version.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libmount/src/version.c') diff --git a/libmount/src/version.c b/libmount/src/version.c index d81d4323f..d0f61c928 100644 --- a/libmount/src/version.c +++ b/libmount/src/version.c @@ -25,6 +25,9 @@ static const char *lib_features[] = { #ifdef HAVE_SMACK "smack", #endif +#ifdef HAVE_BTRFS_SUPPORT + "btrfs", +#endif #if !defined(NDEBUG) "assert", /* libc assert.h stuff */ #endif -- cgit v1.2.3-55-g7522