configure.in: remove rb_cv_typeof
* configure.in (rb_cv_typeof): no longer needed because of AC_C_TYPEOF. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ffc1ea22cc
commit
4532872340
@ -1509,12 +1509,6 @@ EOH
|
|||||||
])dnl
|
])dnl
|
||||||
])dnl
|
])dnl
|
||||||
|
|
||||||
AC_CACHE_CHECK(for typeof, rb_cv_typeof,
|
|
||||||
[AC_TRY_COMPILE([int i; typeof(i) j;], [], [rb_cv_typeof=yes], [rb_cv_typeof=no])])
|
|
||||||
if test "$rb_cv_typeof" = yes; then
|
|
||||||
AC_DEFINE(HAVE_TYPEOF)
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl RUBY_FUNC_ATTRIBUTE(attrib, macroname, cachevar, condition)
|
dnl RUBY_FUNC_ATTRIBUTE(attrib, macroname, cachevar, condition)
|
||||||
AC_DEFUN([RUBY_FUNC_ATTRIBUTE], [dnl
|
AC_DEFUN([RUBY_FUNC_ATTRIBUTE], [dnl
|
||||||
m4_ifval([$2], dnl
|
m4_ifval([$2], dnl
|
||||||
|
Loading…
x
Reference in New Issue
Block a user