summaryrefslogtreecommitdiff
path: root/t/ax/am-test-lib.sh
diff options
context:
space:
mode:
authorPeter Rosin <peda@lysator.liu.se>2015-11-24 12:39:59 +0100
committerPeter Rosin <peda@lysator.liu.se>2015-11-24 12:39:59 +0100
commit46fd67c9720ee15a37357cea5190b77f3053cac4 (patch)
treee8d4956fd7c4e194e0270fc0a42ac4709918acfb /t/ax/am-test-lib.sh
parent92ed3be97837a3de1634a13959c70c686b17d38d (diff)
parentc40e27e1c2a60f58e72e65d73d808f782d55494a (diff)
downloadautomake-46fd67c9720ee15a37357cea5190b77f3053cac4.tar.gz
Merge branch 'micro' into minor
* micro: compile: add icl to compile wrapper script Signed-off-by: Peter Rosin <peda@lysator.liu.se>
Diffstat (limited to 't/ax/am-test-lib.sh')
-rw-r--r--t/ax/am-test-lib.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/t/ax/am-test-lib.sh b/t/ax/am-test-lib.sh
index 35541c323..529d93bcd 100644
--- a/t/ax/am-test-lib.sh
+++ b/t/ax/am-test-lib.sh
@@ -779,6 +779,17 @@ require_tool ()
$CC -? </dev/null \
|| skip_all_ "Microsoft C compiler '$CC' not available"
;;
+ icl)
+ CC=icl
+ # Don't export CFLAGS, as that could have been initialized to only
+ # work with the C compiler detected at configure time. If the user
+ # wants CFLAGS to also influence 'icl', he can still export CFLAGS
+ # in the environment "by hand" before calling the testsuite.
+ export CC CPPFLAGS
+ echo "$me: running $CC -?"
+ $CC -? >/dev/null \
+ || skip_all_ "Intel C compiler '$CC' not available"
+ ;;
etags)
# Exuberant Ctags will create a TAGS file even
# when asked for --help or --version. (Emacs's etags