xref: /PHP-8.1/TSRM/tsrm.m4 (revision 30c1c531)
1dnl This file contains TSRM specific autoconf macros.
2
3dnl
4dnl TSRM_CHECK_PTHREADS
5dnl
6AC_DEFUN([TSRM_CHECK_PTHREADS],[
7PTHREADS_CHECK
8
9if test "$pthreads_working" != "yes"; then
10  AC_MSG_ERROR(Your system seems to lack POSIX threads.)
11fi
12
13AC_DEFINE(PTHREADS, 1, Whether to use Pthreads)
14
15AC_MSG_CHECKING(for POSIX threads)
16AC_MSG_RESULT(yes)
17])
18