Lines Matching refs:sqlite3
1 dnl config.m4 for extension sqlite3
4 PHP_ARG_WITH(sqlite3, whether to enable the SQLite3 extension,
5 [ --without-sqlite3[=DIR] Do not include SQLite3 support. DIR is the prefix to
23 AC_MSG_CHECKING([for sqlite3 files in default path])
25 if test -r $i/include/sqlite3.h; then
38 PHP_CHECK_LIBRARY(sqlite3, sqlite3_prepare_v2, [
40 PHP_ADD_LIBRARY_WITH_PATH(sqlite3, $SQLITE3_DIR/$PHP_LIBDIR, SQLITE3_SHARED_LIBADD)
49 PHP_CHECK_LIBRARY(sqlite3,sqlite3_key,[
50 AC_DEFINE(HAVE_SQLITE3_KEY, 1, [have commercial sqlite3 with crypto support])
52 PHP_CHECK_LIBRARY(sqlite3,sqlite3_column_table_name,[
53 AC_DEFINE(SQLITE_ENABLE_COLUMN_METADATA, 1, [have sqlite3 with column metadata enabled])
55 PHP_CHECK_LIBRARY(sqlite3,sqlite3_errstr,[
59 PHP_CHECK_LIBRARY(sqlite3,sqlite3_load_extension,
61 [AC_DEFINE(SQLITE_OMIT_LOAD_EXTENSION, 1, [have sqlite3 with extension support])
65 AC_MSG_CHECKING([bundled sqlite3 library])
68 sqlite3_extra_sources="libsqlite/sqlite3.c"
89 PHP_INSTALL_HEADERS([ext/sqlite3/libsqlite/sqlite3.h])
94 sqlite3_sources="sqlite3.c $sqlite3_extra_sources"
96 PHP_NEW_EXTENSION(sqlite3, $sqlite3_sources, $ext_shared,,$PHP_SQLITE3_CFLAGS)