1*49cdfc7eSAndroid Build Coastguard Workerdnl SPDX-License-Identifier: GPL-2.0-or-later 2*49cdfc7eSAndroid Build Coastguard Workerdnl Copyright (c) 2022 Fujitsu Ltd. 3*49cdfc7eSAndroid Build Coastguard Workerdnl Author: Dai Shili <[email protected]> 4*49cdfc7eSAndroid Build Coastguard Worker 5*49cdfc7eSAndroid Build Coastguard WorkerAC_DEFUN([LTP_CHECK_FSVERITY],[ 6*49cdfc7eSAndroid Build Coastguard Worker AC_CHECK_HEADERS([linux/fsverity.h], [have_fsverity=yes], [AC_MSG_WARN(missing linux/fsverity.h header)]) 7*49cdfc7eSAndroid Build Coastguard Worker if test "x$have_fsverity" = "xyes"; then 8*49cdfc7eSAndroid Build Coastguard Worker AC_CHECK_TYPES(struct fsverity_enable_arg,,,[#include <linux/fsverity.h>]) 9*49cdfc7eSAndroid Build Coastguard Worker fi 10*49cdfc7eSAndroid Build Coastguard Worker]) 11