Lines Matching refs:sqlite3
2 dnl config.m4 for extension sqlite3
5 PHP_ARG_WITH(sqlite3, whether to enable the SQLite3 extension,
6 [ --without-sqlite3[=DIR] Do not include SQLite3 support. DIR is the prefix to
24 AC_MSG_CHECKING([for sqlite3 files in default path])
26 if test -r $i/include/sqlite3.h; then
39 PHP_CHECK_LIBRARY(sqlite3, sqlite3_prepare_v2, [
41 PHP_ADD_LIBRARY_WITH_PATH(sqlite3, $SQLITE3_DIR/$PHP_LIBDIR, SQLITE3_SHARED_LIBADD)
50 PHP_CHECK_LIBRARY(sqlite3,sqlite3_key,[
51 AC_DEFINE(HAVE_SQLITE3_KEY, 1, [have commercial sqlite3 with crypto support])
53 PHP_CHECK_LIBRARY(sqlite3,sqlite3_column_table_name,[
54 AC_DEFINE(SQLITE_ENABLE_COLUMN_METADATA, 1, [have sqlite3 with column metadata enabled])
57 PHP_CHECK_LIBRARY(sqlite3,sqlite3_load_extension,
59 [AC_DEFINE(SQLITE_OMIT_LOAD_EXTENSION, 1, [have sqlite3 with extension support])
63 AC_MSG_CHECKING([bundled sqlite3 library])
66 sqlite3_extra_sources="libsqlite/sqlite3.c"
86 PHP_INSTALL_HEADERS([ext/sqlite3/libsqlite/sqlite3.h])
91 sqlite3_sources="sqlite3.c $sqlite3_extra_sources"
93 PHP_NEW_EXTENSION(sqlite3, $sqlite3_sources, $ext_shared,,$PHP_SQLITE3_CFLAGS)