avoid libsqlite dependency if it is not needed
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@730 15ad00c4-1369-45f4-8270-35d70d36bdcd
This commit is contained in:
parent
319a873b57
commit
46d72adbe0
1 changed files with 5 additions and 2 deletions
|
@ -14,5 +14,8 @@ AC_ARG_ENABLE_BACKEND(sqlite, sqlite,
|
|||
if test "$enable_sqlite" = "yes"; then
|
||||
test "x${SQLITEFOUND}" == "xyes" || AC_MSG_ERROR([--enable-sqlite requires pkg-config information for sqlite3, which was not found])
|
||||
AC_DEFINE(ENABLE_SQLITE, 1, [sqlite available])
|
||||
else
|
||||
# avoid linking against it if not needed
|
||||
SQLITE_CFLAGS=
|
||||
SQLITE_LIBS=
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue