From 09c83fc8273e0e1e14d093f2f18263116d3dd532 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Sat, 13 Dec 2003 13:46:10 -0500 Subject: [svn-r7946] Purpose: Bug fix Description: Fix problems building on Debian Linux when Intel's "ecc" compiler is not available. Platforms tested: Eyeballed - very trivial patch from user. --- config/ia64-linux-gnu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/ia64-linux-gnu b/config/ia64-linux-gnu index 716717b..f61f70d 100644 --- a/config/ia64-linux-gnu +++ b/config/ia64-linux-gnu @@ -4,8 +4,8 @@ # after configure starts and defines, among other things, flags for # the various compile modes. -# Use Intel C compiler by default. -if test "X$CC" = "X"; then +# Use Intel C compiler by default (if it's available). +if test "X$CC" = "X" && which ecc > /dev/null; then CC=ecc CC_BASENAME=ecc fi -- cgit v0.12