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 | 3d9e76cd03c116687d1a12243a4ff47c0cdb3aec (patch) | |
| tree | 319ff0e649e4afc5b03856ebe5b91cea979b2cb1 | |
| parent | 8a85779b0e3cd16d4b24220d4571129d4ff34822 (diff) | |
| download | ruby-3d9e76cd03c116687d1a12243a4ff47c0cdb3aec.tar.gz ruby-3d9e76cd03c116687d1a12243a4ff47c0cdb3aec.tar.xz ruby-3d9e76cd03c116687d1a12243a4ff47c0cdb3aec.zip | |
* configure.in (RUBY_FUNC_ATTRIBUTE): check prefixed attribute form
first. [ruby-dev:27398]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | configure.in | 2 |
2 files changed, 6 insertions, 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> * parse.y (ripper_initialize): rollback obj_respond_to(). diff --git a/configure.in b/configure.in index 03dc06971..6b4e12e1e 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));], [], |
