--- php-5.6.0RC4/configure.ac~ 2014-08-20 16:08:27.000000000 +0300 +++ php-5.6.0RC4/configure.ac 2014-08-21 20:49:14.693072513 +0300 @@ -1408,6 +1408,9 @@ dnl libtool 1.4.3 needs this. PHP_SET_LIBTOOL_VARIABLE([--preserve-dup-deps]) +dnl pass --tag=CC to unconfuse when CC="ccache gcc" +PHP_SET_LIBTOOL_VARIABLE([--tag=CC]) + test -z "$PHP_COMPILE" && PHP_COMPILE='$(LIBTOOL) --mode=compile $(COMPILE) -c $<' test -z "$CXX_PHP_COMPILE" && CXX_PHP_COMPILE='$(LIBTOOL) --mode=compile $(CXX_COMPILE) -c $<' SHARED_LIBTOOL='$(LIBTOOL)'