+Tue Dec 5 20:53:40 1995 Ezra Peisach <epeisach@kangaroo.mit.edu>
+
+ * Makefile.in: Shared library depends on krb5 library now.
+
+ * configure.in: Pass krb5 library version number to Makefile.
+
Wed Nov 15 20:38:38 1995 Mark Eichin <eichin@cygnus.com>
* tf_util.c (emul_flock): initialize f to a copy of a static
LIB_SUBDIRS= .
LIBDONE= DONE
#
-# Depends on libcrypto and KRB4_CRYPTO_LIB, expect one unresolved symbol:
+# Depends on libcrypto and KRB4_CRYPTO_LIB,
# _et_list.
+# Depends on libkrb5, expect to find
+# krb5_init_context, krb5_free_context, profile_get_values
#
KRB4_CRYPTO_LIBS=@KRB4_CRYPTO_LIB@
DEPKRB4_LIBS=@DEPKRB4_CRYPTO_LIB@
+KRB5_VER=@KRB5_SH_VERS@
CRYPTO_VER=@CRYPTO_SH_VERS@
-DEPLIBS=$(TOPLIBD)/libcrypto.$(SHEXT).$(CRYPTO_VER)
-SHLIB_LIBS=$(KRB4_CRYPTO_LIBS) -lcrypto -lcom_err
+DEPLIBS=$(TOPLIBD)/libkrb5.$(SHEXT).$(KRB5_VER) \
+ $(TOPLIBD)/libcrypto.$(SHEXT).$(CRYPTO_VER)
+SHLIB_LIBS=-lkrb5 $(KRB4_CRYPTO_LIBS) -lcrypto -lcom_err
SHLIB_LDFLAGS= $(LDFLAGS) @SHLIB_RPATH_DIRS@
SHLIB_LIBDIRS= @SHLIB_LIBDIRS@
CopyHeader(krb_err.h,$(EHDRDIR))
CRYPTO_SH_VERS=$krb5_cv_shlib_version_libcrypto
AC_SUBST(CRYPTO_SH_VERS)
+KRB5_SH_VERS=$krb5_cv_shlib_version_libkrb5
+AC_SUBST(KRB5_SH_VERS)
V5_AC_OUTPUT_MAKEFILE