From: Julio Faracco Date: Fri, 6 Jul 2018 13:43:00 +0000 (-0300) Subject: configure: Adding XFS library/headers check. X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=2e11298f938672c5430193277c98b9474a68b1fb;p=libvirt.git 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 --- 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