From 7308aab9d911d87bde8a0a8a1e6120b83ea9bde6 Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Tue, 26 Apr 2011 14:32:25 -0500 Subject: [PATCH] Fix --without-krb5 Currently, specifying --without-krb5 causes the AM_CONDITIONAL KRB5_USES_COM_ERR to not be defined, which makes configure refuse to run successfully. Fix this by forcing KRB5_USES_COM_ERR to always be false if we are running explicitly without krb5. Reviewed-on: http://gerrit.openafs.org/4576 Reviewed-by: Russ Allbery Tested-by: BuildBot (cherry picked from commit 9b405a7b082a8498fb6e918df73482ad05e251ea) Change-Id: I4e706a828e205cf649f09d770986bdfb27f984aa Reviewed-on: http://gerrit.openafs.org/11636 Tested-by: BuildBot Reviewed-by: Chas Williams - CONTRACTOR Reviewed-by: Daria Brashear --- src/cf/krb5.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cf/krb5.m4 b/src/cf/krb5.m4 index 898c29c61..08c8c5623 100644 --- a/src/cf/krb5.m4 +++ b/src/cf/krb5.m4 @@ -262,7 +262,8 @@ AC_DEFUN([RRA_LIB_KRB5_OPTIONAL], AS_IF([test x"$rra_use_kerberos" != xfalse], [AS_IF([test x"$rra_use_kerberos" = xtrue], [_RRA_LIB_KRB5_INTERNAL([true])], - [_RRA_LIB_KRB5_INTERNAL([false])])]) + [_RRA_LIB_KRB5_INTERNAL([false])])], + [AM_CONDITIONAL([KRB5_USES_COM_ERR], [false])]) AS_IF([test x"$KRB5_LIBS" != x], [AC_DEFINE([HAVE_KERBEROS], 1, [Define to enable Kerberos features.])])]) -- 2.39.5