mirror of
https://github.com/php/php-src.git
synced 2025-08-19 17:04:47 +02:00
Enable ICU support within bundled SQLite
This commit is contained in:
parent
4e5c7990ce
commit
938bf96a11
2 changed files with 2 additions and 8 deletions
|
@ -67,11 +67,8 @@ if test $PHP_SQLITE3 != "no"; then
|
||||||
debug_flags="-DSQLITE_DEBUG=1"
|
debug_flags="-DSQLITE_DEBUG=1"
|
||||||
fi
|
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"
|
PHP_SQLITE3_CFLAGS="-I@ext_srcdir@/libsqlite -I@ext_builddir@/libsqlite $other_flags $threadsafe_flags $debug_flags"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -67,11 +67,8 @@ if test $PHP_SQLITE3 != "no"; then
|
||||||
debug_flags="-DSQLITE_DEBUG=1"
|
debug_flags="-DSQLITE_DEBUG=1"
|
||||||
fi
|
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"
|
PHP_SQLITE3_CFLAGS="-I@ext_srcdir@/libsqlite -I@ext_builddir@/libsqlite $other_flags $threadsafe_flags $debug_flags"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue