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