1 # Check for Freeciv Authentication using sqlite3
3 # Called without any parameters.
5 AC_DEFUN([FC_FCDB_SQLITE3],
7 if test "x$fcdb_all" = "xyes" || test "x$fcdb_sqlite3" = "xyes" ; then
11 FCDB_SQLITE3_CFLAGS="$sqlite3_cflags"
12 FCDB_SQLITE3_LIBS="$sqlite3_ldflags"
14 AC_SUBST(FCDB_SQLITE3_CFLAGS)
16 AC_DEFINE([HAVE_FCDB_SQLITE3], [1], [Have Sqlite3 database backend])
20 if test "x$fcdb_sqlite3" = "xyes" ; then
21 AC_MSG_ERROR([fcdb database sqlite3 not available])
28 AM_CONDITIONAL(FCDB_SQLITE3, test "x$fcdb_sqlite3" = "xyes")