diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-04-02 13:00:31 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-04-02 13:00:31 +0000 |
commit | 08d40c92a0452aa265a260ed7a5509ffa1965e75 (patch) | |
tree | fe96fe22d296eb87e9b788b6fed04a384f1fb23d | |
parent | a0237409fa813fca2c485a26e2fa52a1314fa494 (diff) | |
download | ruby-08d40c92a0452aa265a260ed7a5509ffa1965e75.tar.gz |
configure.in: use the first candidate
* configure.in (ac_cv_func___builtin_setjmp): use the first cast
which works with __builtin_longjmp(). [Bug #9692]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 9462d95f25..c5a78f9952 100644 --- a/configure.in +++ b/configure.in @@ -2089,7 +2089,7 @@ RUBY_WERROR_FLAG( void (*volatile f)(void) = t; if (!__builtin_setjmp($cast jb)) printf("%d\n", f != 0); ], - [ac_cv_func___builtin_setjmp="yes with cast ($cast)"], + [ac_cv_func___builtin_setjmp="yes with cast ($cast)"; break], [ac_cv_func___builtin_setjmp=no]) ]) done]) |