summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/sqlite3/config.m42
-rw-r--r--ext/sqlite3/config0.m42
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/sqlite3/config.m4 b/ext/sqlite3/config.m4
index e71c17dd36..60d96b4af5 100644
--- a/ext/sqlite3/config.m4
+++ b/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
diff --git a/ext/sqlite3/config0.m4 b/ext/sqlite3/config0.m4
index e71c17dd36..60d96b4af5 100644
--- a/ext/sqlite3/config0.m4
+++ b/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