summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1996-06-04 20:14:19 +0000
committerTheodore Tso <tytso@mit.edu>1996-06-04 20:14:19 +0000
commite56d507da627814570f8314de9aa228a23a05d09 (patch)
tree38a10387a2bbfce3b90a8864631b00e9f80dffbd
parentdf638160e11df0dfef74adfcdd9311dce41bcf15 (diff)
downloadkrb5-e56d507da627814570f8314de9aa228a23a05d09.tar.gz
krb5-e56d507da627814570f8314de9aa228a23a05d09.tar.xz
krb5-e56d507da627814570f8314de9aa228a23a05d09.zip
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
-rw-r--r--src/ChangeLog10
-rw-r--r--src/aclocal.m43
2 files changed, 13 insertions, 0 deletions
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 <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
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)"