From: Andrew Tridgell Date: Fri, 28 Mar 2003 23:42:03 +0000 (+0100) Subject: use $CC to choose the compiler X-Git-Tag: v2.3~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2434217fcc69dfab41cff991191dc6d50acdfde0;p=thirdparty%2Fccache.git use $CC to choose the compiler --- diff --git a/test.sh b/test.sh index a34c98bc0..993ecadfc 100755 --- a/test.sh +++ b/test.sh @@ -3,7 +3,12 @@ # a simple test suite for ccache # tridge@samba.org -COMPILER=cc +if test -n "$CC"; then + COMPILER="$CC" +else + COMPILER=cc +fi + CCACHE=../ccache TESTDIR=test.$$