Backed out changeset 523ef80786ad (bug 1032528) because of build failure on a CLOSED TREE

This commit is contained in:
Ehsan Akhgari 2014-07-04 11:10:22 -04:00
parent ca94927c11
commit 2708de01f4

View File

@ -26,10 +26,10 @@ COMPILER icc __INTEL_COMPILER
#endif
EOF
read dummy compiler CC_VERSION <<EOF
$($CC -E $CFLAGS conftest.c 2>/dev/null | grep COMPILER)
$($CC -E conftest.c 2>/dev/null | grep COMPILER)
EOF
read dummy cxxcompiler CXX_VERSION <<EOF
$($CXX -E $CXXFLAGS conftest.c 2>/dev/null | grep COMPILER)
$($CXX -E conftest.c 2>/dev/null | grep COMPILER)
EOF
if test "$compiler" != "$cxxcompiler"; then
AC_MSG_ERROR([Your C and C++ compilers are different. You need to use the same compiler.])