chiark / gitweb /
build-sys: Add configure check for linux/btrfs.h
authorMichael Marineau <michael.marineau@coreos.com>
Thu, 15 Aug 2013 15:50:57 +0000 (11:50 -0400)
committerKay Sievers <kay@vrfy.org>
Fri, 16 Aug 2013 21:29:41 +0000 (23:29 +0200)
commit4b357e15876b730343db08719c877fdb45b6ad42
treed57bcade64dd606ff28974274d4878bb6276069b
parentd0a2d726f0b6a02077c178d446f89839be474d41
build-sys: Add configure check for linux/btrfs.h

btrfs.h was added to uapi in Linux 3.9. To fix building with older
header versions this adds a configure check for the header and re-adds
btrfs definitions to missing.h which was removed in bed2e820 along with
two other ioctls used by gpt-auto-generator.

[ Apparently, btrfs.h was only added recently:
  http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=55e301fd57a6239ec14b91a1cf2e70b3dd135194
  let's re-add it for now -- kay ]
configure.ac
src/gpt-auto-generator/gpt-auto-generator.c
src/readahead/readahead-collect.c
src/shared/missing.h