From f6329102615e111490c7955a0a9e8b8610f8a244 Mon Sep 17 00:00:00 2001 From: Olaf Faaland Date: Tue, 30 Jan 2018 17:36:38 -0800 Subject: [PATCH] LU-8602 gss: Fix autoconf check for crypto_hash If earlier crypto_hash checks resulted in enable_gss=no, do not enable GSS when gss_conf_test = success. Fixes regression introduced by https://review.whamcloud.com/27823/ LU-9073 gss: remove newer kernel support Signed-off-by: Olaf Faaland Change-Id: I6c135e638ec6b8350b916f18de73b83cc7dbfb09 Reviewed-on: https://review.whamcloud.com/31095 Tested-by: Jenkins Reviewed-by: James Simmons Reviewed-by: Andreas Dilger Tested-by: Maloo Reviewed-by: Oleg Drokin --- lustre/autoconf/lustre-core.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/autoconf/lustre-core.m4 b/lustre/autoconf/lustre-core.m4 index 6420f4a..6ac4fd4 100644 --- a/lustre/autoconf/lustre-core.m4 +++ b/lustre/autoconf/lustre-core.m4 @@ -323,7 +323,7 @@ AS_IF([test "x$enable_gss" != xno], [ gss_conf_test="failure" ]) - AS_IF([test "x$gss_conf_test" = xsuccess], [ + AS_IF([test "x$gss_conf_test" = xsuccess && "x$enable_gss" != xno], [ AC_DEFINE([HAVE_GSS], [1], [Define this is if you enable gss]) enable_gss="yes" ], [ -- 1.8.3.1