aboutsummaryrefslogtreecommitdiffstats
path: root/autoconf/configure.ac
diff options
context:
space:
mode:
authorDuraid Madina <duraid@octopus.com.au>2006-02-15 07:57:42 +0000
committerDuraid Madina <duraid@octopus.com.au>2006-02-15 07:57:42 +0000
commit937c60a09abb49aa08ad3fa576061a6f034ec7af (patch)
tree9dbd7e429177c172759d5734a2ecd5cbdeb49470 /autoconf/configure.ac
parentfb4ab00d0912d7d5db1e0e14f319c7bf5a4da216 (diff)
downloadexternal_llvm-937c60a09abb49aa08ad3fa576061a6f034ec7af.zip
external_llvm-937c60a09abb49aa08ad3fa576061a6f034ec7af.tar.gz
external_llvm-937c60a09abb49aa08ad3fa576061a6f034ec7af.tar.bz2
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
Diffstat (limited to 'autoconf/configure.ac')
-rw-r--r--autoconf/configure.ac11
1 files changed, 11 insertions, 0 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index 1895039..3f51f2d 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -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