From: yury Date: Fri, 6 Oct 2006 15:34:15 +0000 (+0000) Subject: - additional GSS related checks X-Git-Tag: v1_8_0_110~486^2~674 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=91811fe76a5f051405f65a1ceeedcab1fbe04656;p=fs%2Flustre-release.git - additional GSS related checks --- 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 ])