mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-24 20:30:28 +02:00
(AC_CHECK_FUNCS): Add pthread_getattr_np.
This commit is contained in:
parent
3d9ff38eac
commit
3e494123b6
1 changed files with 5 additions and 1 deletions
|
@ -1021,9 +1021,13 @@ case "$with_threads" in
|
|||
with_threads="pthreads",
|
||||
with_threads="null")
|
||||
|
||||
# Reasons for testing:
|
||||
# pthread_getattr_np - "np" meaning "non portable" says it
|
||||
# all; not present on MacOS X or Solaris 10
|
||||
#
|
||||
old_CFLAGS="$CFLAGS"
|
||||
CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
|
||||
AC_CHECK_FUNCS(pthread_attr_getstack)
|
||||
AC_CHECK_FUNCS(pthread_attr_getstack pthread_getattr_np)
|
||||
CFLAGS="$old_CFLAGS"
|
||||
|
||||
# On Solaris, sched_yield lives in -lrt.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue