The configure script in CVS 1.10.8 does not detect Kerberos v4 if only
shared libraries are installed, and moreover misses to add -ldes when
checking the libraries.

Something like the patch below will make it work with Kth-krb 1.0.1.


--- configure.in
+++ configure.in        Thu May 11 14:15:36 2000
@@ -143,9 +143,9 @@
 AC_SUBST(includeopt)
 if test -n "$krb_h"; then
   krb_lib=
-  if test "$cross_compiling" != yes && test -r $KRB4/lib/libkrb.a; then
+  if test "$cross_compiling" != yes; then
        hold_ldflags=$LDFLAGS
-       LDFLAGS="-L${KRB4}/lib $LDFLAGS"
+       LDFLAGS="-L${KRB4}/lib -ldes $LDFLAGS"
        AC_CHECK_LIB(krb,printf,[krb_lib=yes krb_libdir=${KRB4}/lib],
            [LDFLAGS=$hold_ldflags
             # Using open here instead of printf so we don't


Reply via email to