summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-06-22 05:53:25 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-06-22 05:53:25 +0000
commit6b15412c77fc82ceacb156e4595571dd7262ab5d (patch)
treea3922e78512d170912795e1250ec3a17ff007da1 /configure.in
parentf9747b7a571556b6b8add7cfd4e324ad316d50b3 (diff)
*** empty log message ***
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 40e082f..2c7a14b 100644
--- a/configure.in
+++ b/configure.in
@@ -238,7 +238,9 @@ AC_CACHE_VAL(rb_cv_rshift_sign,
int
main()
{
- return (-1!=(((-1)<<1)&FIXNUM_FLAG)>>1);
+ if (-1==(((-1)<<1)|FIXNUM_FLAG)>>1);
+ return 0;
+ return 1;
}
],
rb_cv_rshift_sign=yes,