diff options
Diffstat (limited to 'build_posix/aclocal/options.m4')
-rw-r--r-- | build_posix/aclocal/options.m4 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build_posix/aclocal/options.m4 b/build_posix/aclocal/options.m4 index 54933130b05..2682c8ea82c 100644 --- a/build_posix/aclocal/options.m4 +++ b/build_posix/aclocal/options.m4 @@ -172,13 +172,15 @@ AH_TEMPLATE(SPINLOCK_TYPE, [Spinlock type from mutex.h.]) AC_MSG_CHECKING(if --with-spinlock option specified) AC_ARG_WITH(spinlock, [AS_HELP_STRING([--with-spinlock], - [Spinlock type (pthread, pthread_logging or gcc).])], + [Spinlock type (pthread, pthread_adaptive or gcc).])], [], [with_spinlock=pthread]) case "$with_spinlock" in gcc) AC_DEFINE(SPINLOCK_TYPE, SPINLOCK_GCC);; pthread|pthreads) AC_DEFINE(SPINLOCK_TYPE, SPINLOCK_PTHREAD_MUTEX);; +pthread_adaptive|pthreads_adaptive) + AC_DEFINE(SPINLOCK_TYPE, SPINLOCK_PTHREAD_MUTEX_ADAPTIVE);; pthread_logging|pthreads_logging) AC_DEFINE(SPINLOCK_TYPE, SPINLOCK_PTHREAD_MUTEX_LOGGING);; *) AC_MSG_ERROR([Unknown spinlock type "$with_spinlock"]);; |