@ -46,7 +46,7 @@ if test "$PHP_GRPC" != "no"; then
PHP_ADD_LIBRARY(dl)
PHP_ADD_LIBRARY(dl)
case $host in
case $host in
*darwin*)
*darwin*)
PHP_ADD_LIBRARY(c++,1,GRPC_SHARED_LIBADD)
PHP_ADD_LIBRARY(c++,1,GRPC_SHARED_LIBADD)
;;
;;
*)
*)
@ -94,7 +94,7 @@ if test "$PHP_COVERAGE" = "yes"; then
if test "$GCC" != "yes"; then
if test "$GCC" != "yes"; then
AC_MSG_ERROR([GCC is required for --enable-coverage])
AC_MSG_ERROR([GCC is required for --enable-coverage])
fi
fi
dnl Check if ccache is being used
dnl Check if ccache is being used
case `$php_shtool path $CC` in
case `$php_shtool path $CC` in
*ccache*[)] gcc_ccache=yes;;
*ccache*[)] gcc_ccache=yes;;
@ -104,7 +104,7 @@ if test "$PHP_COVERAGE" = "yes"; then
if test "$gcc_ccache" = "yes" && (test -z "$CCACHE_DISABLE" || test "$CCACHE_DISABLE" != "1"); then
if test "$gcc_ccache" = "yes" && (test -z "$CCACHE_DISABLE" || test "$CCACHE_DISABLE" != "1"); then
AC_MSG_ERROR([ccache must be disabled when --enable-coverage option is used. You can disable ccache by setting environment variable CCACHE_DISABLE=1.])
AC_MSG_ERROR([ccache must be disabled when --enable-coverage option is used. You can disable ccache by setting environment variable CCACHE_DISABLE=1.])