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

View File

@@ -31,7 +31,7 @@ int main()
], ac_cv_func_getcwd_broken=yes,:,:) ], ac_cv_func_getcwd_broken=yes,:,:)
]) ])
if test "$ac_cv_func_getcwd_broken" = yes; then if test "$ac_cv_func_getcwd_broken" = yes; then
AC_DEFINE(BROKEN_GETCWD, 1)dnl AC_DEFINE(BROKEN_GETCWD, 1, [Define if getcwd is broken (like in SunOS 4).])dnl
LIBOBJS="$LIBOBJS getcwd.o" LIBOBJS="$LIBOBJS getcwd.o"
AC_SUBST(LIBOBJS)dnl AC_SUBST(LIBOBJS)dnl
AC_MSG_RESULT($ac_cv_func_getcwd_broken) AC_MSG_RESULT($ac_cv_func_getcwd_broken)