* Makefile.in: Shared library depends on krb5 library now
authorEzra Peisach <epeisach@mit.edu>
Wed, 6 Dec 1995 01:55:03 +0000 (01:55 +0000)
committerEzra Peisach <epeisach@mit.edu>
Wed, 6 Dec 1995 01:55:03 +0000 (01:55 +0000)
* configure.in: Pass krb5 library version number to Makefile.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7173 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb4/ChangeLog
src/lib/krb4/Makefile.in
src/lib/krb4/configure.in

index 5cfac77d262a1008ba5b5c3a15e3d32e73cf70bb..8e5eaf5524800cd3b9276cb2ad6596a4399efa1e 100644 (file)
@@ -1,3 +1,9 @@
+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
index 6a54daef10d69b7911914ee2240ad9d6d3a9177d..3729c2182fb5c92dad53901330ed268e7fd0e787 100644 (file)
@@ -87,14 +87,18 @@ SRCS = \
 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@
 
index e6c4eaf27f925c9cf40a36c163bcf2d6eb262870..83eca0a5dfa2c2c40b7cf32a45278d0a751af594 100644 (file)
@@ -49,4 +49,6 @@ V5_MAKE_SHARED_LIB(libkrb4,0.1,.., ./krb4)
 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