From e56d507da627814570f8314de9aa228a23a05d09 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Tue, 4 Jun 1996 20:14:19 +0000 Subject: [PATCH] Always do USE_ANAME if kdbm_deplib is not defined, since in shared library situations we may need to resolve all undefined symbols. (We don't do USE_ANAME if kdbm_deplib is defined because the db library used for kdb may be different from the one used for the aname work. This is a bit of an ugly botch, but it will work for now.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8226 dc483132-0cff-0310-8789-dd5450dbe970 --- src/ChangeLog | 10 ++++++++++ src/aclocal.m4 | 3 +++ 2 files changed, 13 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index be501899a..3707b56d6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,13 @@ +Tue Jun 4 12:00:25 1996 Theodore Ts'o + + * aclocal.m4 (KRB5_LIBRARIES): Always do USE_ANAME if kdbm_deplib + is not defined, since in shared library situations we may + need to resolve all undefined symbols. (We don't do + USE_ANAME if kdbm_deplib is defined because the db library + used for kdb may be different from the one used for the + aname work. This is a bit of an ugly botch, but it will + work for now.) + Wed May 29 18:39:21 1996 Tom Yu * aclocal.m4 (AC_CHECK_DBM_PROTO): sense of arguments to be diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 14a0ca367..1ee7e151e 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -892,6 +892,9 @@ dnl dnl This rule generates library lists for programs. dnl define(KRB5_LIBRARIES,[ +if test ${kdbm_deplib}x = x; then +USE_ANAME +fi DEPLIBS="\[$](DEPLOCAL_LIBRARIES) $kadm_deplib $kdb5_deplib $kutil_deplib \[$](TOPLIBD)/libkrb5.a $kdb4_deplib $krb4_deplib $kdbm_deplib $kaname_deplib \[$](TOPLIBD)/libcrypto.a $ss_deplib \[$](TOPLIBD)/libcom_err.a" LIBS="\[$](LOCAL_LIBRARIES) $kadm_lib $kdb5_lib $kdb4_lib $kutil_lib $krb4_lib -lkrb5 $kdbm_libs $kaname_libs -lcrypto $ss_lib -lcom_err $LIBS" LDFLAGS="$LDFLAGS -L\$(TOPLIBD)" -- 2.26.2