From 1b5373fec685351d57b3bc3496daed49eeabf44a Mon Sep 17 00:00:00 2001 From: hartmann Date: Thu, 15 Mar 2007 12:24:29 +0000 Subject: [PATCH] Ask for Intel C compiler like for Intel C++ compiler: Make sure that also Intel C compiler is recognized. git-svn-id: https://svn.dealii.org/trunk@14579 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/aclocal.m4 | 4 ++-- deal.II/configure | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index 5a89da4a08..da511197b7 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -1037,8 +1037,8 @@ AC_DEFUN(DEAL_II_DETERMINE_CC_BRAND, dnl dnl line (the previous one ends with the string "applications"), dnl so join this one to the previous one with a little bit of dnl perl. - is_intel_icc1="`($CC -V 2>&1) | grep 'Intel(R) C++ Compiler'`" - is_intel_icc2="`($CC -help 2>&1) | grep 'Intel(R) C++ Compiler'`" + is_intel_icc1="`($CC -V 2>&1) | grep 'Intel'`" + is_intel_icc2="`($CC -help 2>&1) | grep 'Intel'`" is_intel_ecc="`($CC -V 2>&1) | perl -pi -e 's/applications\n/\1/g;' | grep 'Intel(R) C++ Itanium(TM) Compiler'`" is_intel_icc="$is_intel_icc1$is_intel_icc2$is_intel_ecc" if test "x$is_intel_icc" != "x" ; then diff --git a/deal.II/configure b/deal.II/configure index 50ec668ac6..1e9871a07b 100755 --- a/deal.II/configure +++ b/deal.II/configure @@ -4048,8 +4048,8 @@ echo "${ECHO_T}C compiler is unknown version but accepted MIPSpro compiler versi esac else - is_intel_icc1="`($CC -V 2>&1) | grep 'Intel(R) C++ Compiler'`" - is_intel_icc2="`($CC -help 2>&1) | grep 'Intel(R) C++ Compiler'`" + is_intel_icc1="`($CC -V 2>&1) | grep 'Intel'`" + is_intel_icc2="`($CC -help 2>&1) | grep 'Intel'`" is_intel_ecc="`($CC -V 2>&1) | perl -pi -e 's/applications\n/\1/g;' | grep 'Intel(R) C++ Itanium(TM) Compiler'`" is_intel_icc="$is_intel_icc1$is_intel_icc2$is_intel_ecc" if test "x$is_intel_icc" != "x" ; then -- 2.39.5