mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Show gcc version if too old, and move to GCC block [ci skip]
This commit is contained in:
parent
e77d2c296e
commit
e711711539
1 changed files with 4 additions and 4 deletions
|
@ -370,14 +370,14 @@ AS_IF([test "$GCC" = yes], [
|
|||
icc_version=`echo =__ICC | $CC -E -xc - | sed '/^=/!d;s///;/^__ICC/d'`
|
||||
test -n "$icc_version" || icc_version=0
|
||||
# RUBY_APPEND_OPTIONS(XCFLAGS, ["-include ruby/config.h" "-include ruby/missing.h"])
|
||||
|
||||
AS_IF([test "$gcc_major" -lt 3], [
|
||||
AC_MSG_ERROR([too old GCC: $gcc_major.$gcc_minor])
|
||||
])
|
||||
], [
|
||||
linker_flag=
|
||||
])
|
||||
|
||||
AS_IF([test "$GCC" = yes -a "$gcc_major" -lt 3 ], [
|
||||
AC_MSG_ERROR([too old GCC])
|
||||
])
|
||||
|
||||
RUBY_PROG_GNU_LD
|
||||
RUBY_CPPOUTFILE
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue