From 3e494123b6c1d092bb37b4683fb446dd904e8cab Mon Sep 17 00:00:00 2001 From: Kevin Ryde Date: Tue, 25 Jul 2006 00:10:17 +0000 Subject: [PATCH] (AC_CHECK_FUNCS): Add pthread_getattr_np. --- configure.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index efe48039d..1118438b7 100644 --- a/configure.in +++ b/configure.in @@ -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.