mirror of
https://github.com/php/php-src.git
synced 2025-08-19 17:04:47 +02:00
Propagate ZTS setting correctly
This commit is contained in:
parent
efeadf086b
commit
2e07f02451
2 changed files with 2 additions and 3 deletions
|
@ -16,7 +16,7 @@ dnl
|
||||||
dnl PHP_BUILD_THREAD_SAFE
|
dnl PHP_BUILD_THREAD_SAFE
|
||||||
dnl
|
dnl
|
||||||
AC_DEFUN(PHP_BUILD_THREAD_SAFE,[
|
AC_DEFUN(PHP_BUILD_THREAD_SAFE,[
|
||||||
PHP_THREAD_SAFETY=yes
|
enable_experimental_zts=yes
|
||||||
])
|
])
|
||||||
|
|
||||||
dnl
|
dnl
|
||||||
|
|
|
@ -693,8 +693,7 @@ CPPFLAGS="$CPPFLAGS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT"
|
||||||
LIBZEND_BASIC_CHECKS
|
LIBZEND_BASIC_CHECKS
|
||||||
LIBZEND_OTHER_CHECKS
|
LIBZEND_OTHER_CHECKS
|
||||||
|
|
||||||
|
if test "$ZEND_EXPERIMENTAL_ZTS" = "yes"; then
|
||||||
if test "$PHP_THREAD_SAFETY" = "yes" || test "$ZEND_EXPERIMENTAL_ZTS" = "yes"; then
|
|
||||||
TSRM_LIB='TSRM/libtsrm.la'
|
TSRM_LIB='TSRM/libtsrm.la'
|
||||||
TSRM_DIR=TSRM
|
TSRM_DIR=TSRM
|
||||||
AC_DEFINE(ZTS)
|
AC_DEFINE(ZTS)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue