[AS_HELP_STRING([--with-krb5],
[support for Kerberos 5 (manual configuration)])])
-if test X$with_krb5 = Xyes; then
+if test X$with_krb5 != X; then
if test X$conf_krb5 = XYES; then
AC_MSG_ERROR([--with-krb5-config and --with-krb5 are mutually exclusive, choose only one])
fi
fi
BUILD_KRB5=no
+MAKE_KRB5=#
if test X$conf_krb5 = XYES; then
AC_MSG_RESULT([Configuring support for Kerberos 5 utilities])
BUILD_KRB5=yes
+ MAKE_KRB5=
save_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $KRB5CFLAGS"
save_LIBS="$LIBS"
fi
AC_SUBST(BUILD_KRB5)
+AC_SUBST(MAKE_KRB5)
AC_SUBST(KRB5CFLAGS)
AC_SUBST(KRB5LIBS)