[CONFIGURATION]

* NEW: Only use pkg-config to detect sqlite3 (feature available since 2004!)
This commit is contained in:
Laurent Carlier 2018-06-06 15:29:42 +02:00
parent acf7242ca1
commit 2239e140e5

View file

@ -7,12 +7,9 @@ AC_CONFIG_MACRO_DIR([m4])
GB_INIT(gb.db.sqlite3)
AC_PROG_LIBTOOL
GB_COMPONENT_SEARCH(
GB_COMPONENT_PKG_CONFIG(
sqlite3, SQLITE3, gb.db.sqlite3, [src],
sqlite3 ">= 3.0",
[GB_FIND(sqlite3.h, /usr/local/lib /usr/local /opt /usr/lib /usr, include sqlite*/include)],
[GB_FIND(libsqlite3.$SHLIBEXT, /usr/local /opt /usr, lib sqlite*/lib)],
[$C_LIB -lsqlite3])
'sqlite3 >= 3.0')
AC_OUTPUT( \
Makefile \