aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-03-02 02:43:10 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-03-02 02:43:10 +0000
commitf2c8ac3f1a68f75e0f43a4ab390ec1a0414bba7d (patch)
tree55a57cc98edf51214c52caf203ee9a3d19d0f293 /configure.in
parent07c87adf83cdfc6a44b139c59a4097a3a916da6d (diff)
downloadruby-f2c8ac3f1a68f75e0f43a4ab390ec1a0414bba7d.tar.gz
configure.in: restore unsignedness
* configure.in (RUBY_REPLACE_TYPE): restore unsigned type from cached variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 365538c2ae..3ae38da6e0 100644
--- a/configure.in
+++ b/configure.in
@@ -1479,7 +1479,7 @@ AC_DEFUN([RUBY_REPLACE_TYPE], [dnl
[*LL], [n="long long"],
[*LONG], [n="long"],
[n="int"])
- AS_CASE("${rb_cv_[$1]_convertible}", [U*], [u=+1], [u=-1])
+ AS_CASE("${rb_cv_[$1]_convertible}", [U*], [u=+1 n="unsigned $n"], [u=-1])
AC_DEFINE_UNQUOTED(rb_[$1], $n)
AC_DEFINE_UNQUOTED([SIGNEDNESS_OF_]AS_TR_CPP($1), $u)
AC_DEFINE_UNQUOTED([$3]2NUM[(v)], [${rb_cv_[$1]_convertible}2NUM(v)])