[前][次][番号順一覧][スレッド一覧]

ruby-changes:33430

From: nobu <ko1@a...>
Date: Wed, 2 Apr 2014 22:00:34 +0900 (JST)
Subject: [ruby-changes:33430] nobu:r45509 (trunk): configure.in: use the first candidate

nobu	2014-04-02 22:00:31 +0900 (Wed, 02 Apr 2014)

  New Revision: 45509

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45509

  Log:
    configure.in: use the first candidate
    
    * configure.in (ac_cv_func___builtin_setjmp): use the first cast
      which works with __builtin_longjmp().  [Bug #9692]

  Modified files:
    trunk/configure.in
Index: configure.in
===================================================================
--- configure.in	(revision 45508)
+++ configure.in	(revision 45509)
@@ -2089,7 +2089,7 @@ RUBY_WERROR_FLAG( https://github.com/ruby/ruby/blob/trunk/configure.in#L2089
     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])

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]