Detect sqlite3 on our own.

This commit is contained in:
Sebastian Ramacher 2012-03-16 13:24:45 +01:00
parent 3bc6224976
commit 45dad09deb

View File

@ -7,12 +7,13 @@ ZATHURA_VERSION_REV = 1
ZATHURA_API_VERSION = 1 ZATHURA_API_VERSION = 1
VERSION = ${ZATHURA_VERSION_MAJOR}.${ZATHURA_VERSION_MINOR}.${ZATHURA_VERSION_REV} VERSION = ${ZATHURA_VERSION_MAJOR}.${ZATHURA_VERSION_MINOR}.${ZATHURA_VERSION_REV}
# the GTK version to use # the GTK+ version to use
# note: zathura with GTK+ 3 is broken!
ZATHURA_GTK_VERSION ?= 2 ZATHURA_GTK_VERSION ?= 2
# database # database
# build with sqlite support # To disable support for the sqlite backend set WITH_SQLITE to 0.
WITH_SQLITE ?= 1 WITH_SQLITE ?= $(shell (pkg-config --exists sqlite3 && echo 1) || echo 0)
# paths # paths
PREFIX ?= /usr PREFIX ?= /usr