Only use pkg-config to detect sqlite3 (feature available since 2004!)

[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 committed by gambas
parent 835dd9adf0
commit 6c188a4439

View file

@ -7,12 +7,9 @@ AC_CONFIG_MACRO_DIR([m4])
GB_INIT(gb.db.sqlite3) GB_INIT(gb.db.sqlite3)
AC_PROG_LIBTOOL AC_PROG_LIBTOOL
GB_COMPONENT_SEARCH( GB_COMPONENT_PKG_CONFIG(
sqlite3, SQLITE3, gb.db.sqlite3, [src], sqlite3, SQLITE3, gb.db.sqlite3, [src],
sqlite3 ">= 3.0", '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])
AC_OUTPUT( \ AC_OUTPUT( \
Makefile \ Makefile \