From 91811fe76a5f051405f65a1ceeedcab1fbe04656 Mon Sep 17 00:00:00 2001 From: yury Date: Fri, 6 Oct 2006 15:34:15 +0000 Subject: [PATCH] - additional GSS related checks --- lustre/autoconf/lustre-core.m4 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lustre/autoconf/lustre-core.m4 b/lustre/autoconf/lustre-core.m4 index bc78cc9..10edcf7 100644 --- a/lustre/autoconf/lustre-core.m4 +++ b/lustre/autoconf/lustre-core.m4 @@ -680,6 +680,15 @@ if test x$enable_gss == xyes; then AC_SUBST(GSSAPI_LIBS) AC_KERBEROS_V5 + + AC_MSG_CHECKING([whether CONFIG_CRYPTO and CONFIG_CRYPTO_HMAC turned on]) + if test -f $LINUX/.config && grep -q CONFIG_CRYPTO=y $LINUX/.config \ +&& grep -q CONFIG_CRYPTO_HMAC=y $LINUX/.config; then + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + AC_MSG_ERROR([Crypto support is not enabled in kernel, GSS module can't build, consider --disable-gss.]) + fi fi ]) -- 1.8.3.1