optional check for sqlite3

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23605 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-08-17 15:56:01 +00:00
parent 2b3730b46c
commit 6c8e1adcfb

View File

@@ -78,6 +78,16 @@ if test "$enable_pk_init" != no ;then
fi
AM_CONDITIONAL(PKINIT, test "$enable_pk_init" != no)
dnl Check for sqlite
rk_TEST_PACKAGE(sqlite3,
[#include <sqlite3.h>],
[-lsqlite3],,,SQLITE3)
if test "X$with_sqlite3" != Xyes ; then
INCLUDE_sqlite="-I\$(srcdir)/lib/sqlite"
LIB_sqlite="\$(top_builddir)/lib/sqlit/libsqlite.la"
fi
AM_CONDITIONAL(SQLITE3, test "X$with_sqlite3" = Xyes)
dnl path where the hdb directory is stored
AC_ARG_WITH([hdbdir],