Browse Source

Fix bug #47055 - When intl is shared dont enable icu support in SQLite3

experimental/5.3-FPM
Scott MacVicar 18 years ago
parent
commit
cb4d76b505
  1. 2
      ext/sqlite3/config.m4
  2. 2
      ext/sqlite3/config0.m4

2
ext/sqlite3/config.m4

@ -70,7 +70,7 @@ if test $PHP_SQLITE3 != "no"; then
other_flags="-DSQLITE_ENABLE_FTS3=1 -DSQLITE_CORE=1"
dnl As long as intl is not shared we can have ICU support
if test "$PHP_INTL" = "yes"; then
if test "$PHP_INTL" = "yes" && test "$PHP_INTL_SHARED" != "yes"; then
other_flags="$other_flags -DSQLITE_ENABLE_ICU=1"
fi

2
ext/sqlite3/config0.m4

@ -70,7 +70,7 @@ if test $PHP_SQLITE3 != "no"; then
other_flags="-DSQLITE_ENABLE_FTS3=1 -DSQLITE_CORE=1"
dnl As long as intl is not shared we can have ICU support
if test "$PHP_INTL" = "yes"; then
if test "$PHP_INTL" = "yes" && test "$PHP_INTL_SHARED" != "yes"; then
other_flags="$other_flags -DSQLITE_ENABLE_ICU=1"
fi

Loading…
Cancel
Save