last-svn-commit-171-g75c57ad Add a simple test to identify the Intel C++ compiler.

* configure.ac: Here. --- ChangeLog | 6 ++++++ configure.ac | 3 +++ 2 files changed, 9 insertions(+), 0 deletions(-) diff --git a/ChangeLog b/ChangeLog index 51e3c84..6c7b309 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-04-23 Roland Levillain <roland@lrde.epita.fr> + + Add a simple test to identify the Intel C++ compiler. + + * configure.ac: Here. + 2010-06-03 Roland Levillain <roland@lrde.epita.fr> Clean up a bit Olena's Makefiles. diff --git a/configure.ac b/configure.ac index aa216f6..ca041b3 100644 --- a/configure.ac +++ b/configure.ac @@ -61,6 +61,9 @@ fi AC_LANG([C++]) AC_PROG_CXX +# Set `ICPC' to `yes' if the Intel C++ compiler is used. +test $CXX --version 2>/dev/null | grep '\bICC\b' >/dev/null 2>&1 && ICPC=yes + # GNU C++ compiler setup. if test "$GXX" = yes; then # Speed up compiling times. -- 1.5.6.5
participants (1)
-
Roland Levillain