ruby-changes:20682
From: naruse <ko1@a...>
Date: Fri, 29 Jul 2011 16:20:19 +0900 (JST)
Subject: [ruby-changes:20682] naruse:r32730 (trunk): * configure.in (enable_pthread): use -pthread on OpenBSD without
naruse 2011-07-29 16:17:32 +0900 (Fri, 29 Jul 2011) New Revision: 32730 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=32730 Log: * configure.in (enable_pthread): use -pthread on OpenBSD without explicit option. patched by Jeremy Evans. [ruby-core:38572] Modified files: trunk/ChangeLog trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 32729) +++ configure.in (revision 32730) @@ -1805,7 +1805,9 @@ [c], [], [root], [], [c_r], [MAINLIBS="-pthread $MAINLIBS"], - [LIBS="-l$pthread_lib $LIBS"]) + [AS_CASE(["$target_os"], + [openbsd*], [LIBS="-pthread $LIBS"], + [LIBS="-l$pthread_lib $LIBS"])]) else AC_MSG_WARN("Don't know how to find pthread library on your system -- thread support disabled") fi Index: ChangeLog =================================================================== --- ChangeLog (revision 32729) +++ ChangeLog (revision 32730) @@ -1,3 +1,8 @@ +Fri Jul 29 16:00:43 2011 NARUSE, Yui <naruse@r...> + + * configure.in (enable_pthread): use -pthread on OpenBSD without + explicit option. patched by Jeremy Evans. [ruby-core:38572] + Thu Jul 28 23:36:28 2011 CHIKANAGA Tomoyuki <nagachika00@g...> * ext/fiddle/closure.c (callback): use rb_ary_tmp_new() instead of -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/