com php-src: enable static tsrmls cache in the embed SAPI: sapi/embed/config.m4 sapi/embed/config.w32

From: Date: Wed, 17 Dec 2014 09:58:31 +0000
Subject: com php-src: enable static tsrmls cache in the embed SAPI: sapi/embed/config.m4 sapi/embed/config.w32
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-83784@lists.php.net to get a copy of this message
Commit: 8122bee65466297ec8cbb7a6a6f55331823f28c8 Author: Anatol Belski <ab@php.net> Wed, 17 Dec 2014 10:58:31 +0100 Parents: af21b3b6dcef4ce0c04f3e8126574f5660fd0a83 Branches: native-tls Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=8122bee65466297ec8cbb7a6a6f55331823f28c8 Log: enable static tsrmls cache in the embed SAPI Changed paths: M sapi/embed/config.m4 M sapi/embed/config.w32 Diff: diff --git a/sapi/embed/config.m4 b/sapi/embed/config.m4 index 5ffb9b3..5be7af4 100644 --- a/sapi/embed/config.m4 +++ b/sapi/embed/config.m4 @@ -23,7 +23,7 @@ if test "$PHP_EMBED" != "no"; then ;; esac if test "$PHP_EMBED_TYPE" != "no"; then - PHP_SELECT_SAPI(embed, $PHP_EMBED_TYPE, php_embed.c) + PHP_SELECT_SAPI(embed, $PHP_EMBED_TYPE, php_embed.c, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1) PHP_INSTALL_HEADERS([sapi/embed/php_embed.h]) fi AC_MSG_RESULT([$PHP_EMBED_TYPE]) diff --git a/sapi/embed/config.w32 b/sapi/embed/config.w32 index 64e44bd..ce41e25 100644 --- a/sapi/embed/config.w32 +++ b/sapi/embed/config.w32 @@ -6,6 +6,6 @@ ARG_ENABLE('embed', 'Embedded SAPI library', 'no'); var PHP_EMBED_PGO = false; if (PHP_EMBED != "no") { - SAPI('embed', 'php_embed.c', 'php' + PHP_VERSION + 'embed.lib'); + SAPI('embed', 'php_embed.c', 'php' + PHP_VERSION + 'embed.lib', '/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1'); PHP_INSTALL_HEADERS("sapi/embed", "php_embed.h"); }

« previous php.cvs (#83784) next »