Always do USE_ANAME if kdbm_deplib is not defined, since in shared
authorTheodore Tso <tytso@mit.edu>
Tue, 4 Jun 1996 20:14:19 +0000 (20:14 +0000)
committerTheodore Tso <tytso@mit.edu>
Tue, 4 Jun 1996 20:14:19 +0000 (20:14 +0000)
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
src/aclocal.m4

index be501899a1c4247df276725e531efe82ca0842dc..3707b56d6dbd23633d8fdabcc2d5db587ee0391e 100644 (file)
@@ -1,3 +1,13 @@
+Tue Jun  4 12:00:25 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * 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  <tlyu@mit.edu>
 
        * aclocal.m4 (AC_CHECK_DBM_PROTO): sense of arguments to be
index 14a0ca3672032d34211dba2d4b582d1344bdc9f4..1ee7e151e201ae5a836cb7d23c9ad75a137ca213 100644 (file)
@@ -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)"