common/autoconf/build-performance.m4

changeset 740
c0fa87863427
parent 724
33b6df33a2b7
child 839
174a54ce39c4
child 971
584dc2e95e04
     1.1 --- a/common/autoconf/build-performance.m4	Tue Jun 18 11:29:34 2013 +0200
     1.2 +++ b/common/autoconf/build-performance.m4	Tue Jun 18 11:30:36 2013 +0200
     1.3 @@ -162,7 +162,12 @@
     1.4  	      		      [disable using ccache to speed up recompilations @<:@enabled@:>@])],
     1.5                [ENABLE_CCACHE=${enable_ccache}], [ENABLE_CCACHE=yes])
     1.6      if test "x$ENABLE_CCACHE" = xyes; then
     1.7 +        OLD_PATH="$PATH"
     1.8 +        if test "x$TOOLS_DIR" != x; then
     1.9 +          PATH=$TOOLS_DIR:$PATH
    1.10 +        fi
    1.11          AC_PATH_PROG(CCACHE, ccache)
    1.12 +        PATH="$OLD_PATH"
    1.13      else
    1.14          AC_MSG_CHECKING([for ccache])
    1.15          AC_MSG_RESULT([explicitly disabled])    

mercurial