diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-20 08:44:38 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-20 08:44:38 +0000 |
commit | e691d4d71e83ac8ba46ec2871a675d68a5d7bc28 (patch) | |
tree | 91cb73fe8a55fed363fed150ad750668c475ecab /tool | |
parent | d77e8a7da596fc23acd76c785548f6314114f97a (diff) | |
download | ruby-e691d4d71e83ac8ba46ec2871a675d68a5d7bc28.tar.gz |
tool/m4/ruby_replace_type.m4: use AC_CHECK_TYPES for HAVE_* macros
AC_CHECK_TYPE (no "S") does not define HAVE_* macros for types,
so use AC_CHECK_TYPES (with "S") instead. Without this,
HAVE_CLOCKID_T goes undefined and I can't USE_MONOTONIC_COND in
thread_pthread.c :<
Fixes: r62446 (git 673ae0e3c9cefd693ef82f19a6761e147fc6de93)
("configure.ac: check clockid_t with necessary headers")
* tool/m4/ruby_replace_type.m4: use AC_CHECK_TYPES for HAVE_* macros
[ruby-core:85659] [Bug #14494]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rw-r--r-- | tool/m4/ruby_replace_type.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/m4/ruby_replace_type.m4 b/tool/m4/ruby_replace_type.m4 index d891c4b390..a7d2ffe938 100644 --- a/tool/m4/ruby_replace_type.m4 +++ b/tool/m4/ruby_replace_type.m4 @@ -1,7 +1,7 @@ # -*- Autoconf -*- dnl RUBY_REPLACE_TYPE [typename] [default type] [macro type] [included] AC_DEFUN([RUBY_REPLACE_TYPE], [dnl - AC_CHECK_TYPE([$1], + AC_CHECK_TYPES([$1], [n="patsubst([$1],["],[\\"])"], [n="patsubst([$2],["],[\\"])"], [$4]) |