if test $ol_with_kerberos = no ; then
AC_MSG_ERROR([options require --with-kerberos])
fi
+elif test $ol_enable_kbind = no -o $ol_enable_kpasswd = no ; then
+ if test $ol_with_kerberos != auto ; then
+ AC_MSG_WARN([Kerberos detection enabled unnecessarily]);
+ else
+ ol_with_kerberos=no
+ fi
fi
AC_MSG_RESULT(done)