diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | configure.in | 11 |
2 files changed, 6 insertions, 11 deletions
@@ -1,3 +1,9 @@ +Wed Nov 28 15:19:25 2012 Naohisa Goto <ngotogenome@gmail.com> + + * configure.in: revert r37911, r37906 and r37904 which break build + with non-gcc and/or non-IA32 compilers, e.g. Solaris Studio, + Fujitsu C Compiler. [ruby-dev:46646] [Bug #7451] + Wed Nov 28 14:50:55 2012 Koichi Sasada <ko1@atdot.net> * ext/psych/extconf.rb: copy sources into build directory, diff --git a/configure.in b/configure.in index 935d04656c..295894feee 100644 --- a/configure.in +++ b/configure.in @@ -1533,17 +1533,6 @@ AS_CASE(["$target_os"], [hpux*], [AC_DEFINE(SPT_TYPE,SPT_PSTAT) ], []) - AC_CACHE_CHECK([for __sync_val_compare_and_swap], [rb_cv_gcc_compiler_cas], [ - AC_TRY_LINK([unsigned long atomic_var;], - [ - __sync_val_compare_and_swap(&atomic_var, 0, 1); - ], - [rb_cv_gcc_compiler_cas=yes], - [rb_cv_gcc_compiler_cas=no])]) - if test "$rb_cv_gcc_compiler_cas" = no; then - ARCH_FLAG="-march=i486" - fi - AC_CACHE_CHECK(for signbit, rb_cv_have_signbit, [AC_TRY_LINK([ |