1dnl SPDX-License-Identifier: GPL-2.0-or-later 2dnl Copyright (c) 2016 Fujitsu Ltd. 3dnl Copyright (c) 2017 Petr Vorel <pvorel@suse.cz> 4dnl Author: Xiao Yang <yangx.jy@cn.fujitsu.com> 5 6AC_DEFUN([LTP_CHECK_KEYUTILS_SUPPORT], [ 7 AC_CHECK_LIB([keyutils], [add_key], 8 [AC_DEFINE(HAVE_LIBKEYUTILS, 1, [Define to 1 if you have libkeyutils installed.]) 9 AC_SUBST(KEYUTILS_LIBS, "-lkeyutils")]) 10]) 11