bug 577636 - add configure option to use ccache r=khuey

This commit is contained in:
Brad Lassey 2010-07-16 11:50:13 -04:00
parent d48916fd4d
commit 720e2a59f7
2 changed files with 26 additions and 0 deletions

View File

@ -7419,6 +7419,19 @@ if test -n "$JS_GC_ZEAL"; then
AC_DEFINE(JS_GC_ZEAL)
fi
dnl ======================================================
dnl = Enable compiling with ccache
dnl ======================================================
MOZ_ARG_WITH_STRING(ccache,
[ --with-ccache=path/to/ccache
Enable compiling with ccache],
CCACHE_PATH=$withval,)
if test -n "$CCACHE_PATH"; then
CC="$CCACHE_PATH $CC"
CXX="$CCACHE_PATH $CXX"
fi
dnl ========================================================
dnl = Enable static checking using gcc-dehydra
dnl ========================================================

View File

@ -4455,6 +4455,19 @@ if test -n "$JS_GC_ZEAL"; then
AC_DEFINE(JS_GC_ZEAL)
fi
dnl ======================================================
dnl = Enable compiling with ccache
dnl ======================================================
MOZ_ARG_WITH_STRING(ccache,
[ --with-ccache=path/to/ccache
Enable compiling with ccache],
CCACHE_PATH=$withval,)
if test -n "$CCACHE_PATH"; then
CC="$CCACHE_PATH $CC"
CXX="$CCACHE_PATH $CXX"
fi
dnl ========================================================
dnl = Enable static checking using gcc-dehydra
dnl ========================================================