]> granicus.if.org Git - php/commitdiff
Remove unsed zts check for sqlite3
authorPeter Kokot <peterkokot@gmail.com>
Sun, 14 Jul 2019 19:06:15 +0000 (21:06 +0200)
committerPeter Kokot <peterkokot@gmail.com>
Sun, 14 Jul 2019 19:06:15 +0000 (21:06 +0200)
This check was relevant with bundled sqlite library. Removed via
6083a387a81dbbd66d6316a3a12a63f06d5f7109

Closes GH-4403

ext/sqlite3/config0.m4

index 5f5f52ccd1125488d0a723ad49fc2ae9d3f9a35a..060f12387f5495b92758dd90d301068c23b59d28 100644 (file)
@@ -5,17 +5,6 @@ PHP_ARG_WITH([sqlite3],
   [yes])
 
 if test $PHP_SQLITE3 != "no"; then
-
-  dnl when running phpize enable_maintainer_zts is not available
-  if test -z "$enable_maintainer_zts"; then
-    if test -f "$phpincludedir/main/php_config.h"; then
-      ZTS=`grep '#define ZTS' $phpincludedir/main/php_config.h|$SED 's/#define ZTS//'`
-      if test "$ZTS" -eq "1"; then
-        enable_maintainer_zts="yes"
-      fi
-    fi
-  fi
-
   PKG_CHECK_MODULES([SQLITE], [sqlite3 > 3.7.4])
 
   PHP_CHECK_LIBRARY(sqlite3, sqlite3_stmt_readonly,