1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

configure.in: HAVE_ATTRIBUTE_FUNCTION_ALIAS

* configure.in (HAVE_ATTRIBUTE_FUNCTION_ALIAS): define to tell if
  alias attribute is available.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2013-05-31 07:36:19 +00:00
parent acae96deb7
commit 58bec3e2cb
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Fri May 31 16:35:44 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (HAVE_ATTRIBUTE_FUNCTION_ALIAS): define to tell if
alias attribute is available.
Fri May 31 16:03:23 2013 Zachary Scott <zachary@zacharyscott.net>
* object.c, proc.c: s/call_seq/call-seq in rdoc. [Fix GH-322]

View file

@ -1392,6 +1392,7 @@ if test "$GCC" = yes; then
[rb_cv_gcc_function_alias=$a; break])
done])
if test "$rb_cv_gcc_function_alias" != no; then
AC_DEFINE(HAVE_ATTRIBUTE_FUNCTION_ALIAS)
AC_DEFINE_UNQUOTED([RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args)],
[type prot __attribute__(($rb_cv_gcc_function_alias(@%:@name)));])
AC_DEFINE_UNQUOTED([RUBY_ALIAS_FUNCTION_VOID(prot, name, args)],