update to autoconf 2.13

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5466 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1999-03-01 13:03:32 +00:00
parent bc461e32e5
commit 4c30f629c1
2 changed files with 6 additions and 4 deletions

View File

@@ -58,10 +58,11 @@ int main()
done
AC_MSG_CHECKING(for NDBM library)
ac_ndbm=no
if test "$lib_db" != no; then
LIB_DBM="$lib_db"
AC_DEFINE(NDBM)dnl
AC_DEFINE(HAVE_NEW_DB)
ac_ndbm=yes
AC_DEFINE(HAVE_NEW_DB, 1, [Define if NDBM really is DB (creates files ending in .db).])
if test "$LIB_DBM"; then
ac_res="yes, $LIB_DBM"
else
@@ -69,7 +70,7 @@ if test "$lib_db" != no; then
fi
elif test "$lib_dbm" != no; then
LIB_DBM="$lib_dbm"
AC_DEFINE(NDBM)dnl
ac_ndbm=yes
if test "$LIB_DBM"; then
ac_res="yes, $LIB_DBM"
else
@@ -79,6 +80,7 @@ else
LIB_DBM=""
ac_res=no
fi
test "$ac_ndbm" = yes && AC_DEFINE(NDBM, 1, [Define if you have NDBM (and not DBM)])dnl
AC_SUBST(LIB_DBM)
AC_MSG_RESULT($ac_res)