Skip to content

Commit be6bf71

Browse files
committed
Merge branch 'PHP-7.0' into PHP-7.1
2 parents 87cb91e + 36527ec commit be6bf71

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

TSRM/threads.m4

+2-3
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,9 @@ dnl
6666
dnl Check whether the current setup can use POSIX threads calls
6767
dnl
6868
AC_DEFUN([PTHREADS_CHECK_COMPILE], [
69-
AC_TRY_LINK( [
69+
AC_LINK_IFELSE([ AC_LANG_SOURCE([
7070
#include <pthread.h>
7171
#include <stddef.h>
72-
], [
7372
7473
void *thread_routine(void *data) {
7574
return data;
@@ -81,7 +80,7 @@ int main() {
8180
int data = 1;
8281
pthread_mutexattr_init(&mattr);
8382
return pthread_create(&thd, NULL, thread_routine, &data);
84-
} ], [
83+
} ]) ], [
8584
pthreads_checked=yes
8685
], [
8786
pthreads_checked=no

0 commit comments

Comments
 (0)