Whamcloud - gitweb
- additional GSS related checks
authoryury <yury>
Fri, 6 Oct 2006 15:34:15 +0000 (15:34 +0000)
committeryury <yury>
Fri, 6 Oct 2006 15:34:15 +0000 (15:34 +0000)
lustre/autoconf/lustre-core.m4

index bc78cc9..10edcf7 100644 (file)
@@ -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
 ])