summaryrefslogtreecommitdiff
path: root/tool/m4/ruby_func_attribute.m4
blob: bce26fc16aa9a58859b9d5cb3f7a10c218749c45 (plain)
1
2
3
4
5
6
7
dnl -*- Autoconf -*-
dnl RUBY_FUNC_ATTRIBUTE(attrib, macroname, cachevar, condition)
AC_DEFUN([RUBY_FUNC_ATTRIBUTE], [dnl
    RUBY_DECL_ATTRIBUTE([$1], [$2], [$3], [$4],
	[function], [@%:@define x int conftest_attribute_check(void)]
    )
])dnl