]> git.sur5r.net Git - openldap/blobdiff - configure.in
--disable-kbind --disable-kpasswd should imply --without-kerberos
[openldap] / configure.in
index 68cf5979e7f6822adbdd09ba97049624a3bbb20b..af9308403420145b2da1416722e2dd0268b38a11 100644 (file)
@@ -386,6 +386,12 @@ if test $ol_enable_kbind = yes -o $ol_enable_kpasswd = yes ; then
        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)