am_cond HAVE_*

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10966 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
2002-05-02 16:38:23 +00:00
parent 33178bbd5f
commit a1e5142eea

View File

@@ -104,8 +104,8 @@ if test "$db_type" = "unknown" -o "$ac_cv_func_dbm_firstkey" = ""; then
#include <stdio.h>
#if defined(HAVE_NDBM_H)
#include <ndbm.h>
#else
#error no ndbm.h
#elif defined(HAVE_DBM_H)
#include <dbm.h>
#endif
DBM *dbm;
],[NULL])
@@ -184,6 +184,10 @@ int main()
fi],[AC_MSG_RESULT([no])])
fi
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
AC_SUBST(DBLIB)dnl
AC_SUBST(LIB_NDBM)dnl
])