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
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue