* aclocal.m4 (CHECK_DB): explicitly set $LIBS before calling
authorTom Yu <tlyu@mit.edu>
Mon, 17 Jun 1996 22:39:13 +0000 (22:39 +0000)
committerTom Yu <tlyu@mit.edu>
Mon, 17 Jun 1996 22:39:13 +0000 (22:39 +0000)
AC_CHECK_DBM_PROTO so that if a dbm lib is found it is
linked against while checking for function existence.
This may need some more testing.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8375 dc483132-0cff-0310-8789-dd5450dbe970

src/ChangeLog
src/aclocal.m4

index 8869d739df4b8fafffeb415f43ab1364dc000b8d..c2946db49a1aa55b5154ada7ffb3f73268aed0d3 100644 (file)
@@ -1,3 +1,10 @@
+Mon Jun 17 18:34:10 1996  Tom Yu  <tlyu@voltage-multiplier.mit.edu>
+
+       * aclocal.m4 (CHECK_DB): explicitly set $LIBS before calling
+               AC_CHECK_DBM_PROTO so that if a dbm lib is found it is
+               linked against while checking for function existence.
+               This may need some more testing.
+
 Thu Jun 13 23:03:03 1996  Tom Yu  <tlyu@voltage-multiplier.mit.edu>
 
        * aclocal.m4: break some stuff out into pre.in and post.in in
index fed2f9ef71f329e5824f520d823edeb991a5e675..48d8aed142bc2cea925b8543ec12f09269f1cf42 100644 (file)
@@ -1000,6 +1000,7 @@ if test "$dbval" = "" -o "$dbval" = ndbm; then
              AC_CHECK_LIB(dbm,dbm_nextkey,[dblibs=-ldbm],
                AC_CHECK_LIB(gdbm,dbm_nextkey,[dblibs=-lgdbm]))))
          AC_DEFINE(NDBM)
+         LIBS="$LIBS $dblibs"
          AC_CHECK_DBM_PROTO($dbval,dbm_error,,
                AC_DEFINE(MISSING_ERROR_PROTO))
          AC_CHECK_DBM_PROTO($dbval,dbm_clearerr,,