File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -10,5 +10,6 @@ if (PHP_SQLITE3 != "no") {
10
10
ADD_SOURCES ( configure_module_dirname + "/libsqlite" , "sqlite3.c" , "sqlite3" ) ;
11
11
12
12
AC_DEFINE ( "HAVE_SQLITE3" , 1 , "SQLite support" ) ;
13
+ AC_DEFINE ( "HAVE_SQLITE3_ERRSTR" , 1 , "have sqlite3_errstr function" )
13
14
PHP_INSTALL_HEADERS ( "ext/sqlite3" , "libsqlite/sqlite3.h" ) ;
14
15
}
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ if test $PHP_SQLITE3 != "no"; then
78
78
debug_flags="-DSQLITE_DEBUG=1"
79
79
fi
80
80
81
- other_flags="-DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_FTS4=1 -DSQLITE_ENABLE_FTS5=1 -DSQLITE_CORE=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 -DHAVE_SQLITE3_ERRSTR=1 "
81
+ other_flags="-DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_FTS4=1 -DSQLITE_ENABLE_FTS5=1 -DSQLITE_CORE=1 -DSQLITE_ENABLE_COLUMN_METADATA=1"
82
82
83
83
dnl As long as intl is not shared we can have ICU support
84
84
if test "$PHP_INTL" = "yes" && test "$PHP_INTL_SHARED" != "yes"; then
@@ -89,6 +89,7 @@ if test $PHP_SQLITE3 != "no"; then
89
89
PHP_INSTALL_HEADERS([ ext/sqlite3/libsqlite/sqlite3.h] )
90
90
fi
91
91
92
+ AC_DEFINE ( HAVE_SQLITE3_ERRSTR , 1 , [ have sqlite3_errstr function] )
92
93
AC_DEFINE ( HAVE_SQLITE3 ,1 ,[ ] )
93
94
94
95
sqlite3_sources="sqlite3.c $sqlite3_extra_sources"
You can’t perform that action at this time.
0 commit comments