]> git.ipfire.org Git - thirdparty/snapper.git/commit
Add conditionals for btrfs library versions 108/head
authorDavid Sterba <dsterba@suse.cz>
Wed, 27 Aug 2014 15:48:35 +0000 (17:48 +0200)
committerDavid Sterba <dsterba@suse.cz>
Wed, 27 Aug 2014 15:49:02 +0000 (17:49 +0200)
commit0d2966dbaadf51417424c8754c62f2c564f776b5
tree8cd0ad5053995c85cff48e55bf28bdc41e29c925
parente836b5a5c202b02098a31a9280cc62debedbc1ac
Add conditionals for btrfs library versions

Currently the btrfs library API is not versioned and causes build
problems. Add a configure-time conditional check for btrfs/version.h
that defines BTRFS_LIB_VERSION, otherwise assume the value 100.

Use it to fix breakage of btrfs_read_and_process_send_stream in
btrfsprogs 3.16.
configure.ac
snapper/Btrfs.cc