aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/php/ext/grpc/config.m4
diff options
context:
space:
mode:
authorGravatar ZhouyihaiDing <ddyihai@google.com>2018-04-12 16:43:33 -0700
committerGravatar ZhouyihaiDing <ddyihai@google.com>2018-05-12 15:00:18 -0700
commit9ef881e1accc55dca39f07f530cfe309c07a43f1 (patch)
treeb57b0bad500988bb95ffe0c318462a66603549c8 /src/php/ext/grpc/config.m4
parent23e17baa23e325e6a92fa84252b5bab1786a0e37 (diff)
PHP: chang shared channel behavior
PHP: add persistent list upper bounnd check change upper bound from global to each target add ref/unreef; Only delete ref_count=0; make the code cleaner persistent map update after review u2nd pdate after the review
Diffstat (limited to 'src/php/ext/grpc/config.m4')
-rwxr-xr-xsrc/php/ext/grpc/config.m48
1 files changed, 8 insertions, 0 deletions
diff --git a/src/php/ext/grpc/config.m4 b/src/php/ext/grpc/config.m4
index 0fb843d51f..fa54ebd920 100755
--- a/src/php/ext/grpc/config.m4
+++ b/src/php/ext/grpc/config.m4
@@ -4,6 +4,14 @@ PHP_ARG_ENABLE(grpc, whether to enable grpc support,
PHP_ARG_ENABLE(coverage, whether to include code coverage symbols,
[ --enable-coverage Enable coverage support], no, no)
+PHP_ARG_ENABLE(tests, whether to compile helper methods for tests,
+[ --enable-tests Enable tests methods], no, no)
+
+dnl Check whether to enable tests
+if test "$PHP_TESTS" != "no"; then
+ CPPFLAGS="$CPPFLAGS -DGRPC_PHP_DEBUG"
+fi
+
if test "$PHP_GRPC" != "no"; then
dnl Write more examples of tests here...