summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/external/pac_responder.m413
1 files changed, 8 insertions, 5 deletions
diff --git a/src/external/pac_responder.m4 b/src/external/pac_responder.m4
index f2841924b..8c960f713 100644
--- a/src/external/pac_responder.m4
+++ b/src/external/pac_responder.m4
@@ -12,10 +12,12 @@ then
build_pac_responder=yes
fi
+ndr_krb5pac_ok=no
+krb5_version_ok=no
if test x$build_pac_responder == xyes
then
- PKG_CHECK_MODULES(NDR_KRB5PAC, ndr_krb5pac,,
- AC_MSG_ERROR([Cannot build pac responder without libndr_krb5pac]))
+ PKG_CHECK_MODULES(NDR_KRB5PAC, ndr_krb5pac, ndr_krb5pac_ok=yes,
+ AC_MSG_WARN([Cannot build pac responder without libndr_krb5pac]))
AC_PATH_PROG(KRB5_CONFIG, krb5-config)
AC_MSG_CHECKING(for supported MIT krb5 version)
@@ -23,12 +25,13 @@ then
case $KRB5_VERSION in
Kerberos\ 5\ release\ 1.9* | \
Kerberos\ 5\ release\ 1.10*)
+ krb5_version_ok=yes
AC_MSG_RESULT(yes)
;;
*)
- AC_MSG_ERROR([Cannot build authdata plugin with this version of
- MIT Kerberos, please use 1.9.x or 1.10.x])
+ AC_MSG_WARN([Cannot build authdata plugin with this version of
+ MIT Kerberos, please use 1.9.x or 1.10.x])
esac
fi
-AM_CONDITIONAL([BUILD_PAC_RESPONDER], [test x$build_pac_responder = xyes ])
+AM_CONDITIONAL([BUILD_PAC_RESPONDER], [test x$build_pac_responder = xyes -a x$ndr_krb5pac_ok = xyes -a x$krb5_version_ok = xyes ])