From c42751179aad64fcb6125e3b26e55e7f845aeffc Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Mon, 17 Jun 1996 22:39:13 +0000 Subject: [PATCH] * 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. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8375 dc483132-0cff-0310-8789-dd5450dbe970 --- src/ChangeLog | 7 +++++++ src/aclocal.m4 | 1 + 2 files changed, 8 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 8869d739d..c2946db49 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,10 @@ +Mon Jun 17 18:34:10 1996 Tom Yu + + * 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 * aclocal.m4: break some stuff out into pre.in and post.in in diff --git a/src/aclocal.m4 b/src/aclocal.m4 index fed2f9ef7..48d8aed14 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -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,, -- 2.26.2