|
From: <sv...@va...> - 2009-01-20 13:45:50
|
Author: bart
Date: 2009-01-20 13:45:38 +0000 (Tue, 20 Jan 2009)
New Revision: 8995
Log:
Added configure tests for optional POSIX threads functionality.
Modified:
trunk/configure.in
Modified: trunk/configure.in
===================================================================
--- trunk/configure.in 2009-01-20 06:56:26 UTC (rev 8994)
+++ trunk/configure.in 2009-01-20 13:45:38 UTC (rev 8995)
@@ -1327,7 +1327,12 @@
memset \
mkdir \
ppoll \
- pthread_condattr_setclock \
+ pthread_barrier_init \
+ pthread_condattr_setclock \
+ pthread_mutex_timedlock \
+ pthread_rwlock_timedrdlock \
+ pthread_rwlock_timedwrlock \
+ pthread_spin_lock \
semtimedop \
signalfd \
syscall \
@@ -1345,6 +1350,11 @@
# want for e.g. vgpreload_core-x86-linux.so
LIBS=""
+AM_CONDITIONAL([HAVE_PTHREAD_BARRIER],
+ [test x$ac_cv_func_pthread_barrier_init = xyes])
+AM_CONDITIONAL([HAVE_PTHREAD_SPINLOCK],
+ [test x$ac_cv_func_pthread_spin_lock = xyes])
+
# Do we have a useable MPI setup on the primary and/or secondary targets?
# On Linux, by default, assumes mpicc and -m32/-m64
# On AIX, by default, assumes mpxlc and -q32/-q64
|