1
1

- fixed detection of older PGI compilers on CrayXT platforms

- added detection for Intel compilers on CrayXT platforms

This commit was SVN r23011.
Этот коммит содержится в:
Matthias Jurenz 2010-04-20 10:33:02 +00:00
родитель 7717c970a3
Коммит d92819826b

Просмотреть файл

@ -154,9 +154,9 @@ AC_DEFUN([ACVT_COMPINST],
cc*)
AS_IF([test "$PLATFORM" = "crayxt"],
[
for f in "-V --version"; do
for f in -V --version; do
case `$CC $f 2>&1` in
*pgcc\ [1-8].*)
*pgcc\ [[1-8]].*)
compinst_type="pgi"
AC_MSG_RESULT([pgi])
;;
@ -164,14 +164,18 @@ AC_DEFUN([ACVT_COMPINST],
compinst_type="pgi9"
AC_MSG_RESULT([pgi9])
;;
*gcc\ *)
compinst_type="gnu"
AC_MSG_RESULT([gnu])
;;
*PathScale*)
compinst_type="gnu"
AC_MSG_RESULT([gnu (pathscale)])
;;
*Intel*)
compinst_type="gnu"
AC_MSG_RESULT([gnu (intel)])
;;
*gcc\ *)
compinst_type="gnu"
AC_MSG_RESULT([gnu])
;;
esac
AS_IF([test x"$compinst_type" != x], [break])
done