# HG changeset patch # User Richard M. Stallman # Date 870069119 0 # Node ID 8666fad79dd0b4eae2b996565c6ce042763c1927 # Parent 8f73ca5bbaebbec004cedcddb36a98f657c8a26d Support auto-configuration of both Kerberos V4 and Kerberos V5 for movemail, including detection of V4 and V5 header files and libraries. diff -r 8f73ca5bbaeb -r 8666fad79dd0 lib-src/Makefile.in --- a/lib-src/Makefile.in Mon Jul 28 05:26:38 1997 +0000 +++ b/lib-src/Makefile.in Mon Jul 28 05:51:59 1997 +0000 @@ -182,23 +182,35 @@ #endif #ifdef KERBEROS -#ifdef HAVE_LIBKRB - /* For krb5, use -lkrb5 */ - KRBLIB=-lkrb -#endif -#ifdef HAVE_LIBDES - /* For krb4, use -lcrypto */ - DESLIB=-ldes -#endif -#ifdef HAVE_LIBCOM_ERR - COM_ERRLIB=-lcom_err -#endif -#endif /* KERBEROS */ +# ifdef HAVE_LIBKRB + KRB4LIB = -lkrb +# else +# ifdef HAVE_LIBKRB4 + KRB4LIB = -lkrb4 +# endif +# endif +# ifdef HAVE_LIBDES + DESLIB = -ldes +# else +# ifdef HAVE_LIBDES425 + DESLIB = -ldes425 +# endif +# endif +# ifdef HAVE_LIBKRB5 + KRB5LIB = -lkrb5 +# endif +# ifdef HAVE_LIBCRYPTO + CRYPTOLIB = -lcrypto +# endif +# ifdef HAVE_LIBCOM_ERR + COM_ERRLIB = -lcom_err +# endif +#endif /* KERBEROS /* If HESIOD is defined, set this to "-lhesiod". */ HESIODLIB= -MOVE_LIBS=$(KRBLIB) $(DESLIB) $(COM_ERRLIB) $(HESIODLIB) +MOVE_LIBS=$(KRB4LIB) $(DESLIB) $(KRB5LIB) $(CRYPTOLIB) $(COM_ERRLIB) $(HESIODLIB) #ifdef HAVE_LIBMAIL LIBMAIL=-lmail