From ac2c2cf23573e400e014628af22467ca43573c21 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Wed, 1 Oct 2014 09:25:19 +0200 Subject: build: Make ccache opt-in rather than opt-out Using ccache by default for compilation if it is available on the system might confuse people and in rare cases also lead to unexpected results. Thus, from now on the use of ccache for compilation has to explicitely specified by setting the CCACHE make variable to the name/path of the ccache binary, i.e. `make CCACHE=ccache' Signed-off-by: Tobias Klauser --- configure | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'configure') diff --git a/configure b/configure index fa60764..2e553cb 100755 --- a/configure +++ b/configure @@ -55,19 +55,6 @@ check_pkg_config() fi } -check_ccache() -{ - echo -n "[*] Checking ccache ... " - - if [ "x$(which ccache 2>> config.log)" == "x" ] ; then - echo "[NO]" - echo "CONFIG_CCACHE=" >> Config - else - echo "[YES]" - echo "CONFIG_CCACHE=ccache" >> Config - fi -} - check_flex() { echo -n "[*] Checking flex ... " @@ -590,7 +577,6 @@ if [ "$MISSING_PKG_CONFIG" == "1" ] ; then exit 1 fi -check_ccache check_flex check_bison check_nacl -- cgit v1.2.3-54-g00ecf