From 2e11298f938672c5430193277c98b9474a68b1fb Mon Sep 17 00:00:00 2001 From: Julio Faracco Date: Fri, 6 Jul 2018 10:43:00 -0300 Subject: [PATCH] configure: Adding XFS library/headers check. This commit checks for xfs.h library to use XFS_IOC_CLONE which is defined into that library file. So, after that it is possible to use thie macro to create reflinks. Signed-off-by: Julio Faracco --- configure.ac | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configure.ac b/configure.ac index 59d2d09611..a87ca06854 100644 --- a/configure.ac +++ b/configure.ac @@ -625,6 +625,13 @@ if test "$with_linux" = "yes"; then AC_CHECK_HEADERS([linux/btrfs.h]) fi +dnl +dnl check for xfs dev headers required by xfs ioctl +dnl +if test "$with_linux" = "yes"; then + AC_CHECK_HEADERS([xfs/xfs.h]) +fi + dnl dnl check for DEVLINK_CMD_ESWITCH_GET dnl