mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in: fix r37294: run only on i[3-6]86-linux.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e6ef313a49
commit
013521e557
2 changed files with 16 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Wed Nov 28 15:37:17 2012 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
|
* configure.in: fix r37294: run only on i[3-6]86-linux.
|
||||||
|
|
||||||
Wed Nov 28 15:31:11 2012 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
Wed Nov 28 15:31:11 2012 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||||
|
|
||||||
* io.c (FMODE_SYNCWRITE): removed unused macro.
|
* io.c (FMODE_SYNCWRITE): removed unused macro.
|
||||||
|
|
12
configure.in
12
configure.in
|
@ -1534,6 +1534,18 @@ AS_CASE(["$target_os"],
|
||||||
[])
|
[])
|
||||||
|
|
||||||
|
|
||||||
|
AS_CASE(["$target_cpu-$target_os"], [[i[3-6]86-linux*]], [
|
||||||
|
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_CACHE_CHECK(for signbit, rb_cv_have_signbit,
|
||||||
[AC_TRY_LINK([
|
[AC_TRY_LINK([
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue