aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/config.m4.template
diff options
context:
space:
mode:
authorGravatar Stanley Cheung <stanleycheung@google.com>2017-05-02 11:24:03 -0700
committerGravatar Stanley Cheung <stanleycheung@google.com>2017-05-02 11:24:03 -0700
commit19792108ae693b9741ba43fb6d57cb771f27d8ee (patch)
treef3f54ce51e5c60670430065f87aa63eaa1031d84 /templates/config.m4.template
parent158fa3abe75aa07e191c982bf83c4777645b3c63 (diff)
PHP: release 1.3, disable cares deps
Diffstat (limited to 'templates/config.m4.template')
-rw-r--r--templates/config.m4.template6
1 files changed, 1 insertions, 5 deletions
diff --git a/templates/config.m4.template b/templates/config.m4.template
index 13ff7389e6..38d86e6c3c 100644
--- a/templates/config.m4.template
+++ b/templates/config.m4.template
@@ -10,8 +10,6 @@
PHP_ADD_INCLUDE(PHP_EXT_SRCDIR()/include)
PHP_ADD_INCLUDE(PHP_EXT_SRCDIR()/src/php/ext/grpc)
PHP_ADD_INCLUDE(PHP_EXT_SRCDIR()/third_party/boringssl/include)
- PHP_ADD_INCLUDE(PHP_EXT_SRCDIR()/third_party/cares)
- PHP_ADD_INCLUDE(PHP_EXT_SRCDIR()/third_party/cares/cares)
LIBS="-lpthread $LIBS"
@@ -23,10 +21,8 @@
case $host in
*darwin*)
- PHP_ADD_INCLUDE(PHP_EXT_SRCDIR()/third_party/cares/config_darwin)
;;
*)
- PHP_ADD_INCLUDE(PHP_EXT_SRCDIR()/third_party/cares/config_linux)
PHP_ADD_LIBRARY(rt,,GRPC_SHARED_LIBADD)
PHP_ADD_LIBRARY(rt)
;;
@@ -46,7 +42,7 @@
, $ext_shared, , -Wall -Werror ${"\\"}
-Wno-parentheses-equality -Wno-unused-value -std=c11 ${"\\"}
-fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN ${"\\"}
- -D_HAS_EXCEPTIONS=0 -DNOMINMAX)
+ -D_HAS_EXCEPTIONS=0 -DNOMINMAX -DGRPC_ARES=0)
PHP_ADD_BUILD_DIR($ext_builddir/src/php/ext/grpc)
<%