mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-11 06:38:20 +00:00
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:
@ -412,6 +412,17 @@ case $CC in
|
|||||||
;;
|
;;
|
||||||
esac
|
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
|
dnl Verify that GCC is version 3.0 or higher
|
||||||
if test "$GCC" = "yes"
|
if test "$GCC" = "yes"
|
||||||
then
|
then
|
||||||
|
14
configure
vendored
14
configure
vendored
@ -24870,6 +24870,20 @@ case $CC in
|
|||||||
;;
|
;;
|
||||||
esac
|
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"
|
if test "$GCC" = "yes"
|
||||||
then
|
then
|
||||||
gccmajor=`$CC --version | head -n 1 | sed 's/[^0-9]*\([0-9.]\).*/\1/'`
|
gccmajor=`$CC --version | head -n 1 | sed 's/[^0-9]*\([0-9.]\).*/\1/'`
|
||||||
|
Reference in New Issue
Block a user