* 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]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ngoto 2012-11-28 06:29:05 +00:00
Родитель 1ff0a3d0c6
Коммит 58b8573081
2 изменённых файлов: 6 добавлений и 11 удалений

Просмотреть файл

@ -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,

Просмотреть файл

@ -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([