reverting previous change, will add support for other compilers later

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26211 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duraid Madina 2006-02-15 07:57:42 +00:00
parent fb4ab00d09
commit 937c60a09a
2 changed files with 25 additions and 0 deletions

View File

@ -412,6 +412,17 @@ case $CC in
;;
esac
if test "$GCC" != "yes" && test "$ICC" != "yes"
then
AC_MSG_ERROR([gcc|icc required but not found])
fi
dnl Ensure that compilation tools are GCC; we use GCC specific extensions
if test "$GXX" != "yes" && test "$IXX" != "yes"
then
AC_MSG_ERROR([g++|icc required but not found])
fi
dnl Verify that GCC is version 3.0 or higher
if test "$GCC" = "yes"
then

14
configure vendored
View File

@ -24870,6 +24870,20 @@ case $CC in
;;
esac
if test "$GCC" != "yes" && test "$ICC" != "yes"
then
{ { echo "$as_me:$LINENO: error: gcc|icc required but not found" >&5
echo "$as_me: error: gcc|icc required but not found" >&2;}
{ (exit 1); exit 1; }; }
fi
if test "$GXX" != "yes" && test "$IXX" != "yes"
then
{ { echo "$as_me:$LINENO: error: g++|icc required but not found" >&5
echo "$as_me: error: g++|icc required but not found" >&2;}
{ (exit 1); exit 1; }; }
fi
if test "$GCC" = "yes"
then
gccmajor=`$CC --version | head -n 1 | sed 's/[^0-9]*\([0-9.]\).*/\1/'`