summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-02-08 01:32:43 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-02-08 01:32:43 +0000
commit41ec00e0193313f8bc989b0d5efb0220bc77c82a (patch)
treec5d74208d3ca729943232daebfc1c4ed5f4fa3f0
parentfe0598ac828ffa93e960fc7f5a6c86a6bc2572c2 (diff)
* configure.in: check pthread_attr_getstack to prevent obsolete
warning for pthread_attr_getstackaddr. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--configure.in2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e1898d8c340..8db10d9a500 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Feb 8 10:28:58 2010 Yukihiro Matsumoto <matz@ruby-lang.org>
+
+ * configure.in: check pthread_attr_getstack to prevent obsolete
+ warning for pthread_attr_getstackaddr.
+
Sun Feb 7 23:12:34 2010 Tanaka Akira <akr@fsij.org>
* sample/test.rb: sort files for syntax validataion.
diff --git a/configure.in b/configure.in
index 3a79b7b5a00..d65f4818d99 100644
--- a/configure.in
+++ b/configure.in
@@ -1509,7 +1509,7 @@ if test x"$enable_pthread" = xyes; then
AC_MSG_WARN("Don't know how to find pthread library on your system -- thread support disabled")
fi
AC_CHECK_FUNCS(nanosleep sched_yield pthread_attr_setinheritsched \
- pthread_getattr_np pthread_attr_get_np \
+ pthread_getattr_np pthread_attr_get_np pthread_attr_getstack\
pthread_get_stackaddr_np pthread_get_stacksize_np \
thr_stksegment pthread_stackseg_np)
if test x"$ac_cv_func_nanosleep" = xno; then