mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in (RUBY_FUNC_ATTRIBUTE): check prefixed attribute form
first. [ruby-dev:27398] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1f6620a6b9
commit
32f264bfef
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Tue Oct 11 21:28:38 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* configure.in (RUBY_FUNC_ATTRIBUTE): check prefixed attribute form
|
||||||
|
first. [ruby-dev:27398]
|
||||||
|
|
||||||
Mon Oct 10 00:09:54 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Mon Oct 10 00:09:54 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* parse.y (ripper_initialize): rollback obj_respond_to().
|
* parse.y (ripper_initialize): rollback obj_respond_to().
|
||||||
|
|
|
@ -285,7 +285,7 @@ else
|
||||||
unset rb_c_werror_flag
|
unset rb_c_werror_flag
|
||||||
fi
|
fi
|
||||||
ac_c_werror_flag=yes
|
ac_c_werror_flag=yes
|
||||||
for mac in "x __attribute__ (($1))" "__declspec($1) x" x; do
|
for mac in "__attribute__ (($1)) x" "x __attribute__ (($1))" "__declspec($1) x" x; do
|
||||||
AC_TRY_COMPILE(
|
AC_TRY_COMPILE(
|
||||||
[#define ]attrib[(x) $mac
|
[#define ]attrib[(x) $mac
|
||||||
]attrib[(void conftest_attribute_check(void));], [],
|
]attrib[(void conftest_attribute_check(void));], [],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue