Enable ICU support within bundled SQLite

This commit is contained in:
Scott MacVicar 2008-12-22 16:42:34 +00:00
parent 4e5c7990ce
commit 938bf96a11
2 changed files with 2 additions and 8 deletions

View file

@ -67,11 +67,8 @@ if test $PHP_SQLITE3 != "no"; then
debug_flags="-DSQLITE_DEBUG=1"
fi
other_flags="-DSQLITE_ENABLE_FTS3=1 -DSQLITE_CORE=1"
other_flags="-DSQLITE_ENABLE_FTS3=1 -DSQLITE_CORE=1 -DSQLITE_ENABLE_ICU=1"
dnl if test "$PHP_MAJOR_VERSION" -ge "6"; then
dnl other_flags="$other_flags -DSQLITE_ENABLE_ICU=1"
dnl fi
PHP_SQLITE3_CFLAGS="-I@ext_srcdir@/libsqlite -I@ext_builddir@/libsqlite $other_flags $threadsafe_flags $debug_flags"
fi

View file

@ -67,11 +67,8 @@ if test $PHP_SQLITE3 != "no"; then
debug_flags="-DSQLITE_DEBUG=1"
fi
other_flags="-DSQLITE_ENABLE_FTS3=1 -DSQLITE_CORE=1"
other_flags="-DSQLITE_ENABLE_FTS3=1 -DSQLITE_CORE=1 -DSQLITE_ENABLE_ICU=1"
dnl if test "$PHP_MAJOR_VERSION" -ge "6"; then
dnl other_flags="$other_flags -DSQLITE_ENABLE_ICU=1"
dnl fi
PHP_SQLITE3_CFLAGS="-I@ext_srcdir@/libsqlite -I@ext_builddir@/libsqlite $other_flags $threadsafe_flags $debug_flags"
fi