* configure.in: correct pthread_setname_np's prototype on NetBSD.
[Bug #9586] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3c00fe9f41
commit
b87df1bf24
@ -1,3 +1,8 @@
|
|||||||
|
Fri Apr 25 12:51:08 2014 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
|
* configure.in: correct pthread_setname_np's prototype on NetBSD.
|
||||||
|
[Bug #9586]
|
||||||
|
|
||||||
Thu Apr 24 23:17:25 2014 NAKAMURA Usaku <usa@ruby-lang.org>
|
Thu Apr 24 23:17:25 2014 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
* lib/fileutils.rb (fu_get_uid, fu_get_gid): Etc.getpwnam/getgrnam may
|
* lib/fileutils.rb (fu_get_uid, fu_get_gid): Etc.getpwnam/getgrnam may
|
||||||
|
@ -2546,9 +2546,12 @@ if test x"$enable_pthread" = xyes; then
|
|||||||
if test "$ac_cv_func_pthread_setname_np" = yes; then
|
if test "$ac_cv_func_pthread_setname_np" = yes; then
|
||||||
AC_CACHE_CHECK([arguments of pthread_setname_np], [rb_cv_func_pthread_setname_np_arguments],
|
AC_CACHE_CHECK([arguments of pthread_setname_np], [rb_cv_func_pthread_setname_np_arguments],
|
||||||
[rb_cv_func_pthread_setname_np_arguments=
|
[rb_cv_func_pthread_setname_np_arguments=
|
||||||
|
# Linux,AIX, (pthread_self(), name)
|
||||||
|
# NetBSD (pthread_self(), name, \"%s\")
|
||||||
|
# Darwin (name)
|
||||||
for mac in \
|
for mac in \
|
||||||
"(pthread_self(), name)" \
|
"(pthread_self(), name)" \
|
||||||
"(pthread_self(), "%s", name)" \
|
"(pthread_self(), name, \"%s\")" \
|
||||||
"(name)" \
|
"(name)" \
|
||||||
; do
|
; do
|
||||||
AC_TRY_COMPILE([
|
AC_TRY_COMPILE([
|
||||||
|
Loading…
x
Reference in New Issue
Block a user