diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-09-27 04:33:11 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-09-27 04:33:11 +0000 |
commit | 5e8285893ea89a78f56ec7bcf8000b0b9dc87b80 (patch) | |
tree | a0c4fb06066e9f139d2615fd5b3f6971acb63fa1 /configure.ac | |
parent | a32c0ac40e127ad9df2cf62ab9826b35fc904bd2 (diff) | |
download | ruby-5e8285893ea89a78f56ec7bcf8000b0b9dc87b80.tar.gz |
move GCC version check from marshal.c to configure.ac
I think it should be done in configure
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 900cd28402..367a072720 100644 --- a/configure.ac +++ b/configure.ac @@ -238,6 +238,10 @@ AS_IF([test "$GCC" = yes], [ linker_flag= ]) +AS_IF([test "$GCC" = yes -a "$gcc_major" -lt 3 ], [ + AC_MSG_ERROR([too old GCC]) +]) + RUBY_PROG_GNU_LD RUBY_CPPOUTFILE |