summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-12-13 18:46:10 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-12-13 18:46:10 (GMT)
commit09c83fc8273e0e1e14d093f2f18263116d3dd532 (patch)
tree70ef4c0300b9783f83c514ae0dc569b070c8771e /config
parenta8161177b98fb2a85c92288294efe3fbace2fbeb (diff)
downloadhdf5-09c83fc8273e0e1e14d093f2f18263116d3dd532.zip
hdf5-09c83fc8273e0e1e14d093f2f18263116d3dd532.tar.gz
hdf5-09c83fc8273e0e1e14d093f2f18263116d3dd532.tar.bz2
[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.
Diffstat (limited to 'config')
-rw-r--r--config/ia64-linux-gnu4
1 files 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