diff options
Diffstat (limited to 'meta-oe/recipes-connectivity/krb5/krb5/0001-aclocal-Add-parameter-to-disable-keyutils-detection.patch')
-rw-r--r-- | meta-oe/recipes-connectivity/krb5/krb5/0001-aclocal-Add-parameter-to-disable-keyutils-detection.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/krb5/krb5/0001-aclocal-Add-parameter-to-disable-keyutils-detection.patch b/meta-oe/recipes-connectivity/krb5/krb5/0001-aclocal-Add-parameter-to-disable-keyutils-detection.patch new file mode 100644 index 000000000..f0c310c5e --- /dev/null +++ b/meta-oe/recipes-connectivity/krb5/krb5/0001-aclocal-Add-parameter-to-disable-keyutils-detection.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From ecb62f3467f493cc0d679323f05367eebbf0fb67 Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Tue, 1 Oct 2013 22:22:57 +0200 | ||
4 | Subject: [PATCH] aclocal: Add parameter to disable keyutils detection | ||
5 | |||
6 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
7 | --- | ||
8 | aclocal.m4 | 4 ++++ | ||
9 | 1 file changed, 4 insertions(+) | ||
10 | |||
11 | diff --git a/aclocal.m4 b/aclocal.m4 | ||
12 | index 210c473..83b1f02 100644 | ||
13 | --- a/aclocal.m4 | ||
14 | +++ b/aclocal.m4 | ||
15 | @@ -1650,11 +1650,15 @@ fi | ||
16 | dnl | ||
17 | dnl If libkeyutils exists (on Linux) include it and use keyring ccache | ||
18 | AC_DEFUN(KRB5_AC_KEYRING_CCACHE,[ | ||
19 | +AC_ARG_ENABLE([keyutils], | ||
20 | +AC_HELP_STRING([--disable-keyutils],don't enable using keyutils for keyring ccache @<:@enabled@:>@), , enable_keyutils=yes) | ||
21 | +if test "$enable_keyutils" = yes; then | ||
22 | AC_CHECK_HEADERS([keyutils.h], | ||
23 | AC_CHECK_LIB(keyutils, add_key, | ||
24 | [dnl Pre-reqs were found | ||
25 | AC_DEFINE(USE_KEYRING_CCACHE, 1, [Define if the keyring ccache should be enabled]) | ||
26 | LIBS="-lkeyutils $LIBS" | ||
27 | ])) | ||
28 | +fi | ||
29 | ])dnl | ||
30 | dnl | ||
31 | -- | ||
32 | 1.8.3.2 | ||
33 | |||