diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-10-13 22:06:11 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-10-13 22:06:11 +0900 |
| commit | f0a76f6295ce1ac2cbc7f3152949301afa95d42e (patch) | |
| tree | b6a870b8d7587ac6df497257977f845625cdf55a | |
| parent | c78895b1d61e74d62df6795fac439586135dd9c9 (diff) | |
ruby_defint.m4: variable names must not contain spaces
| -rw-r--r-- | tool/m4/ruby_defint.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tool/m4/ruby_defint.m4 b/tool/m4/ruby_defint.m4 index e9ed68e5b8..7f262a73fc 100644 --- a/tool/m4/ruby_defint.m4 +++ b/tool/m4/ruby_defint.m4 @@ -17,7 +17,8 @@ typedef $1 t; int s = sizeof(t) == 42;])], ["${ac_cv_sizeof___int128@%:@*:}"], [ rb_cv_type_$1="m4_if([$3], [], [], [$3 ])__int128"], [ rb_cv_type_$1=no])])]) AS_IF([test "${rb_cv_type_$1}" != no], [ - type="${rb_cv_type_$1@%:@@%:@unsigned }" + type="${rb_cv_type_$1@%:@@%:@*signed }" + AS_IF([test "$type" = "long long"], [type=long_long]) AS_IF([test "$type" != yes && eval 'test -n "${ac_cv_sizeof_'$type'+set}"'], [ eval cond='"${ac_cv_sizeof_'$type'}"' AS_CASE([$cond], [*:*], [ |
