• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1dnl
2dnl Copyright (c) 2016 Fujitsu Ltd.
3dnl Copyright (c) 2017 Petr Vorel <pvorel@suse.cz>
4dnl
5dnl Author: Xiao Yang <yangx.jy@cn.fujitsu.com>
6dnl
7dnl This program is free software; you can redistribute it and/or modify it
8dnl under the terms of version 2 of the GNU General Public License as
9dnl published by the Free Software Foundation.
10dnl
11dnl This program is distributed in the hope that it would be useful, but
12dnl WITHOUT ANY WARRANTY; without even the implied warranty of
13dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14dnl
15dnl You should have received a copy of the GNU General Public License
16dnl alone with this program.
17dnl
18
19dnl
20dnl LTP_CHECK_KEYUTILS_SUPPORT
21dnl ----------------------------
22dnl
23AC_DEFUN([LTP_CHECK_KEYUTILS_SUPPORT], [
24	AC_CHECK_LIB([keyutils], [add_key],
25	[AC_DEFINE(HAVE_LIBKEYUTILS, 1, [Define to 1 if you have libkeyutils installed.])
26	      AC_SUBST(KEYUTILS_LIBS, "-lkeyutils")])
27])
28