diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-11 12:29:11 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-11 12:29:11 +0000 |
commit | 32f264bfef9ef6eb96c791ee33ffad8d5e461578 (patch) | |
tree | 319ff0e649e4afc5b03856ebe5b91cea979b2cb1 /configure.in | |
parent | 1f6620a6b9c737922e5e02566df58919642ab732 (diff) |
* 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
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 03dc06971a..6b4e12e1ec 100644 --- a/configure.in +++ b/configure.in @@ -285,7 +285,7 @@ else unset rb_c_werror_flag fi 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( [#define ]attrib[(x) $mac ]attrib[(void conftest_attribute_check(void));], [], |