Don't do AFS string-to-key tests when feature is disabled

This commit is contained in:
Viktor Dukhovni
2017-03-09 16:15:42 -05:00
committed by Jeffrey Altman
parent 2baa0a00c8
commit 28b6b96e09
3 changed files with 11 additions and 6 deletions

View File

@@ -282,7 +282,9 @@ AC_ARG_ENABLE(afs-string-to-key,
if test "$enable_afs_string_to_key" = "yes"; then
AC_DEFINE(ENABLE_AFS_STRING_TO_KEY, 1, [Define if want to use the weak AFS string to key functions.])
ENABLE_AFS_STRING_TO_KEY=1
fi
AC_SUBST(ENABLE_AFS_STRING_TO_KEY)dnl
rk_CHECK_MAN