mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
ea4b9f8f8a
commit
55702df221
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -9,10 +9,6 @@
|
|||
|
||||
**********************************************************************/
|
||||
|
||||
#if defined __GNUC__ && __GNUC__ < 3
|
||||
# error too old GCC
|
||||
#endif
|
||||
|
||||
#include "ruby/ruby.h"
|
||||
#include "ruby/io.h"
|
||||
#include "internal.h"
|
||||
|
|
Loading…
Reference in a new issue