make it possible to run this twice
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10984 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
3
cf/db.m4
3
cf/db.m4
@@ -71,6 +71,7 @@ dnl dbopen is used by db1/db2
|
||||
|
||||
dnl test for ndbm compatability
|
||||
|
||||
if test "$ac_cv_func_dbm_firstkey" != yes; then
|
||||
AC_FIND_FUNC_NO_LIBS2(dbm_firstkey, $ac_cv_funclib_dbopen $ac_cv_funclib_db_create, [
|
||||
#include <stdio.h>
|
||||
#define DB_DBM_HSEARCH 1
|
||||
@@ -90,6 +91,7 @@ dnl test for ndbm compatability
|
||||
$as_unset ac_cv_func_dbm_firstkey
|
||||
$as_unset ac_cv_funclib_dbm_firstkey
|
||||
fi
|
||||
fi
|
||||
|
||||
fi # berkeley db
|
||||
|
||||
@@ -188,6 +190,7 @@ AM_CONDITIONAL(HAVE_DB1, test "$db_type" = db1)dnl
|
||||
AM_CONDITIONAL(HAVE_DB3, test "$db_type" = db3)dnl
|
||||
AM_CONDITIONAL(HAVE_NDBM, test "$db_type" = ndbm)dnl
|
||||
|
||||
DBLIB="$LDFLAGS $DBLIB"
|
||||
AC_SUBST(DBLIB)dnl
|
||||
AC_SUBST(LIB_NDBM)dnl
|
||||
])
|
||||
|
Reference in New Issue
Block a user