1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* configure.in: add libthr for FreeBSD.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2007-12-20 09:35:28 +00:00
parent c334a09f7a
commit ff3e195746
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Thu Dec 20 18:33:54 2007 Koichi Sasada <ko1@atdot.net>
* configure.in: add libthr for FreeBSD.
Thu Dec 20 18:17:14 2007 Koichi Sasada <ko1@atdot.net> Thu Dec 20 18:17:14 2007 Koichi Sasada <ko1@atdot.net>
* common.mk, *.ci: renamed to *.c. * common.mk, *.ci: renamed to *.c.

View file

@ -901,7 +901,7 @@ int main()
AC_DEFINE_UNQUOTED(STACK_GROW_DIRECTION, $rb_cv_stack_grow_dir) AC_DEFINE_UNQUOTED(STACK_GROW_DIRECTION, $rb_cv_stack_grow_dir)
if test x"$enable_pthread" = xyes; then if test x"$enable_pthread" = xyes; then
for pthread_lib in pthread pthreads c c_r; do for pthread_lib in thr pthread pthreads c c_r; do
AC_CHECK_LIB($pthread_lib, pthread_kill, AC_CHECK_LIB($pthread_lib, pthread_kill,
rb_with_pthread=yes, rb_with_pthread=no) rb_with_pthread=yes, rb_with_pthread=no)
if test "$rb_with_pthread" = "yes"; then break; fi if test "$rb_with_pthread" = "yes"; then break; fi