From 669862a416ce92dfee6b677e35144e7b8db1cb19 Mon Sep 17 00:00:00 2001 From: naruse Date: Thu, 4 Feb 2010 01:00:30 +0000 Subject: [PATCH] * configure.in: FreeBSD, DragonFly BSD and Mac OS X needs pthread_np.h to use pthread_*_np functions. Mac OS X's pthread_*_np also depend sys/signal.h, but it is included at signal.h via vm_core.h via thread.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 7 +++++++ configure.in | 1 + 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 2d1ae18b46..478a0b49c3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Thu Feb 4 09:55:38 2010 NARUSE, Yui + + * configure.in: FreeBSD, DragonFly BSD and Mac OS X needs + pthread_np.h to use pthread_*_np functions. + Mac OS X's pthread_*_np also depend sys/signal.h, + but it is included at signal.h via vm_core.h via thread.c. + Thu Feb 4 08:15:53 2010 Nobuyoshi Nakada * lib/delegate.rb (Delegator): now inherits BasicObject. diff --git a/configure.in b/configure.in index 69b8b7170a..3a79b7b5a0 100644 --- a/configure.in +++ b/configure.in @@ -1499,6 +1499,7 @@ if test x"$enable_pthread" = xyes; then AC_DEFINE(_REENTRANT) AC_DEFINE(_THREAD_SAFE) AC_DEFINE(HAVE_LIBPTHREAD) + AC_CHECK_HEADERS(pthread_np.h) AS_CASE([$pthread_lib], [c], [], [root], [],