different from resolution of external non-imported symbols.
Therefore, we really want to link against libdb.a at shared library
creation time. Instead of linking on all platforms and making libdb.a
a shared library, I have chosen to only link on AIX where it will work
and not generate a problem even if the application later linksgainst
libdb.a because making libdb.a a shared library would make it harder
to distribute util/db2.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8829
dc483132-0cff-0310-8789-
dd5450dbe970
+Thu Jul 25 18:42:47 1996 Sam Hartman <hartmans@mit.edu>
+
+ * configure.in (LIBS): Link against -ldb under AIX for shared
+ library construction; we should eventually make libdb a shared
+ library.
+
Wed Jul 24 18:21:28 1996 Tom Yu <tlyu@voltage-multiplier.mit.edu>
* Makefile.in, configure.in: break out server lib into a
fi
AC_CHECK_FUNCS(re_comp re_exec regcomp regexec)
+dnl AIX is unusual in that it wants all symbols resolved at link time
+dnl Fortunately, it will allow us to link the kdb library now, even if
+dnl it is linked again later.
+case $krb5_cv_host in
+*-*-aix*)
+ LIBS="$LIBS -ldb"
+ ;;
+esac
V5_SHARED_LIB_OBJS
V5_MAKE_SHARED_LIB(libkadm5srv, 1.0, ../.., ./kadm5/srv)