tsrm.m4 346 B

1234567891011121314151617
  1. dnl This file contains TSRM specific autoconf macros.
  2. dnl
  3. dnl TSRM_CHECK_PTHREADS
  4. dnl
  5. AC_DEFUN([TSRM_CHECK_PTHREADS],[
  6. PTHREADS_CHECK
  7. if test "$pthreads_working" != "yes"; then
  8. AC_MSG_ERROR(Your system seems to lack POSIX threads.)
  9. fi
  10. AC_DEFINE(PTHREADS, 1, Whether to use Pthreads)
  11. AC_MSG_CHECKING(for POSIX threads)
  12. AC_MSG_RESULT(yes)
  13. ])