diff options
Diffstat (limited to 'TSRM/tsrm.m4')
-rw-r--r-- | TSRM/tsrm.m4 | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/TSRM/tsrm.m4 b/TSRM/tsrm.m4 index 98aa2b8c91..ea9f9a0da1 100644 --- a/TSRM/tsrm.m4 +++ b/TSRM/tsrm.m4 @@ -77,19 +77,15 @@ sinclude(threads.m4) AC_DEFUN([TSRM_CHECK_PTHREADS],[ PTHREADS_CHECK + +if test "$pthreads_working" != "yes"; then + AC_MSG_ERROR(Your system seems to lack POSIX threads.) +fi -if test "$beos_threads" = "1"; then - AC_DEFINE(BETHREADS, 1, Whether to use native BeOS threads) -else - if test "$pthreads_working" != "yes"; then - AC_MSG_ERROR(Your system seems to lack POSIX threads.) - fi - - AC_DEFINE(PTHREADS, 1, Whether to use Pthreads) +AC_DEFINE(PTHREADS, 1, Whether to use Pthreads) - AC_MSG_CHECKING(for POSIX threads) - AC_MSG_RESULT(yes) -fi +AC_MSG_CHECKING(for POSIX threads) +AC_MSG_RESULT(yes) ]) AC_DEFUN([TSRM_THREADS_CHECKS],[ |