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])