From 369af25f191b19e1057b98935c0df3dab32f8d23 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Mon, 2 Oct 1995 18:38:09 +0000 Subject: [PATCH] * configure.in (V5_MAKE_SHARED_LIB): Change rule to install version 0.1 of the library. Pass the libcrypto and libcom_err version number to Makefile * Makefile.in (CRYPTO_VER): Get the proper libcrypto version number git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6911 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/ChangeLog | 8 ++++++++ src/lib/krb5/Makefile.in | 5 ++++- src/lib/krb5/configure.in | 23 +++++------------------ 3 files changed, 17 insertions(+), 19 deletions(-) diff --git a/src/lib/krb5/ChangeLog b/src/lib/krb5/ChangeLog index 433b44d60..2287b76bb 100644 --- a/src/lib/krb5/ChangeLog +++ b/src/lib/krb5/ChangeLog @@ -1,3 +1,11 @@ +Mon Oct 2 11:12:24 1995 Ezra Peisach + + * configure.in (V5_MAKE_SHARED_LIB): Change rule to install + version 0.1 of the library. Pass the libcrypto and + libcom_err version number to Makefile + + * Makefile.in (CRYPTO_VER): Get the proper libcrypto version number + Mon Sep 25 17:01:48 1995 Theodore Y. Ts'o * Makefile.in: Removed "foo:: foo-$(WHAT)" lines from the diff --git a/src/lib/krb5/Makefile.in b/src/lib/krb5/Makefile.in index 0f4276b18..9d7c7dfc2 100644 --- a/src/lib/krb5/Makefile.in +++ b/src/lib/krb5/Makefile.in @@ -21,7 +21,10 @@ LIBDONE= error_tables/DONE asn.1/DONE ccache/DONE ccache/stdio/DONE \ KRB4_LIBS=@KRB4_LIB@ KRB4_CRYPTO_LIBS=@KRB4_CRYPTO_LIB@ DEPKRB4_LIBS=@DEPKRB4_LIB@ @DEPKRB4_CRYPTO_LIB@ -DEPLIBS=$(TOPLIBD)/libcrypto.$(SHEXT) $(TOPLIBD)/libcom_err.$(SHEXT) +CRYPTO_VER=@CRYPTO_SH_VERS@ +COMERR_VER=@COMERR_SH_VERS@ +DEPLIBS=$(TOPLIBD)/libcrypto.$(SHEXT).$(CRYPTO_VER) \ + $(TOPLIBD)/libcom_err.$(SHEXT).$(COMERR_VER) SHLIB_LIBS=$(KRB4_LIBS) $(KRB4_CRYPTO_LIBS) -lcrypto -lcom_err SHLIB_LDFLAGS= $(LDFLAGS) @SHLIB_RPATH_DIRS@ # $(LD_UNRESOLVED_PREFIX)_et_list $(LD_UNRESOLVED_PREFIX)error_message diff --git a/src/lib/krb5/configure.in b/src/lib/krb5/configure.in index f1cdc8bd7..eb8ea40a6 100644 --- a/src/lib/krb5/configure.in +++ b/src/lib/krb5/configure.in @@ -6,23 +6,10 @@ AC_PROG_ARCHIVE_ADD AC_PROG_RANLIB AC_PROG_INSTALL DO_SUBDIRS -V5_MAKE_SHARED_LIB(libkrb5) -AC_ARG_ENABLE([shared], -[ --enable-shared build shared libraries],[ -LinkFileDir(../libkrb5.[$](SHEXT), libkrb5.[$](SHEXT), ./krb5) -AppendRule([all-unix:: ../libkrb5.$(SHEXT)]) -AppendRule([install-unix:: libkrb5.[$](SHEXT) - [$](INSTALL_DATA) libkrb5.[$](SHEXT) \ - [$](DESTDIR)[$](KRB5_SHLIBDIR)[$](S)libkrb5.[$](SHEXT)]) -])dnl -if test -n "$krb5_cv_staticlibs_enabled" ; then - LinkFileDir(../libkrb5.[$](STEXT), libkrb5.[$](STEXT), ./krb5) - AppendRule([install-unix:: - [$](INSTALL_DATA) libkrb5.[$](STEXT) [$](DESTDIR)[$](KRB5_LIBDIR)/libkrb5.[$](STEXT) - [$](RANLIB) [$](DESTDIR)[$](KRB5_LIBDIR)/libkrb5.[$](STEXT)]) - AppendRule([all-unix:: ../libkrb5.[$](STEXT)]) - AppendRule([all:: libkrb5.[$](STEXT)]) -fi -AppendRule([install:: install-[$](WHAT)]) +V5_MAKE_SHARED_LIB(libkrb5,0.1,.., ./krb5) +CRYPTO_SH_VERS=$krb5_cv_shlib_version_libcrypto +AC_SUBST(CRYPTO_SH_VERS) +COMERR_SH_VERS=$krb5_cv_shlib_version_libcom_err +AC_SUBST(COMERR_SH_VERS) AppendRule([all:: all-$(WHAT)]) V5_AC_OUTPUT_MAKEFILE -- 2.26.2