mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
synced 2024-11-15 08:14:21 +08:00
btrfs-progs: build: check if FIEMAP_EXTENT_SHARED is defined
Detect the macro at configure time rather than during compilation. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
af62507bed
commit
6a106862df
@ -113,6 +113,8 @@ if test "x$enable_convert" = xyes; then
|
||||
PKG_CHECK_MODULES(COM_ERR, [com_err])
|
||||
fi
|
||||
|
||||
AX_CHECK_DEFINE([linux/fiemap.h], [FIEMAP_EXTENT_SHARED], [],
|
||||
[AC_MSG_ERROR([no definition of FIEMAP_EXTENT_SHARED found])])
|
||||
|
||||
dnl Define <NAME>_LIBS= and <NAME>_CFLAGS= by pkg-config
|
||||
dnl
|
||||
|
Loading…
Reference in New Issue
Block a user