aboutsummaryrefslogtreecommitdiffhomepage
path: root/config.m4
diff options
context:
space:
mode:
authorGravatar Stanley Cheung <stanleycheung@google.com>2017-01-11 21:38:33 -0800
committerGravatar Stanley Cheung <stanleycheung@google.com>2017-01-11 21:38:33 -0800
commit90cd2789457a466c208a46bbaf413cfe2af57bd8 (patch)
tree24ce19dfcb8d72bff2f55b64184f5ebb6f9c3966 /config.m4
parent1b59bfc52bf37fcbb9ab0a5c828856128f4acdf5 (diff)
PHP: use a macro to specify extension src dir
Diffstat (limited to 'config.m4')
-rw-r--r--config.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/config.m4 b/config.m4
index 12b10578e8..85549e5f42 100644
--- a/config.m4
+++ b/config.m4
@@ -5,9 +5,9 @@ if test "$PHP_GRPC" != "no"; then
dnl Write more examples of tests here...
dnl # --with-grpc -> add include path
- PHP_ADD_INCLUDE(../../grpc/include)
- PHP_ADD_INCLUDE(../../grpc/src/php/ext/grpc)
- PHP_ADD_INCLUDE(../../grpc/third_party/boringssl/include)
+ 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)
LIBS="-lpthread $LIBS"