1dnl 2dnl Copyright (c) 2016 Fujitsu Ltd. 3dnl Author: Xiao Yang <yangx.jy@cn.fujitsu.com> 4dnl 5dnl This program is free software; you can redistribute it and/or modify it 6dnl under the terms of version 2 of the GNU General Public License as 7dnl published by the Free Software Foundation. 8dnl 9dnl This program is distributed in the hope that it would be useful, but 10dnl WITHOUT ANY WARRANTY; without even the implied warranty of 11dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12dnl 13dnl You should have received a copy of the GNU General Public License 14dnl alone with this program. 15dnl 16 17dnl 18dnl LTP_CHECK_KEYUTILS_SUPPORT 19dnl ---------------------------- 20dnl 21AC_DEFUN([LTP_CHECK_KEYUTILS_SUPPORT],[ 22AC_CHECK_HEADERS([keyutils.h], [keyutils_libs="-lkeyutils"]) 23AC_SUBST([KEYUTILS_LIBS], [$keyutils_libs]) 24]) 25