Show gcc version if too old, and move to GCC block [ci skip]
This commit is contained in:
parent
e77d2c296e
commit
e711711539
@ -370,14 +370,14 @@ AS_IF([test "$GCC" = yes], [
|
|||||||
icc_version=`echo =__ICC | $CC -E -xc - | sed '/^=/!d;s///;/^__ICC/d'`
|
icc_version=`echo =__ICC | $CC -E -xc - | sed '/^=/!d;s///;/^__ICC/d'`
|
||||||
test -n "$icc_version" || icc_version=0
|
test -n "$icc_version" || icc_version=0
|
||||||
# RUBY_APPEND_OPTIONS(XCFLAGS, ["-include ruby/config.h" "-include ruby/missing.h"])
|
# 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=
|
linker_flag=
|
||||||
])
|
])
|
||||||
|
|
||||||
AS_IF([test "$GCC" = yes -a "$gcc_major" -lt 3 ], [
|
|
||||||
AC_MSG_ERROR([too old GCC])
|
|
||||||
])
|
|
||||||
|
|
||||||
RUBY_PROG_GNU_LD
|
RUBY_PROG_GNU_LD
|
||||||
RUBY_CPPOUTFILE
|
RUBY_CPPOUTFILE
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user