1 diff -burN php-5.0.4RC1.orig/TSRM/threads.m4 php-5.0.4RC1/TSRM/threads.m4
2 --- php-5.0.4RC1.orig/TSRM/threads.m4 2005-03-15 18:02:27.630294512 +0100
3 +++ php-5.0.4RC1/TSRM/threads.m4 2005-03-15 18:07:05.301082136 +0100
22 AC_CACHE_CHECK(for pthreads_lib, ac_cv_pthreads_lib,[
27 AC_DEFUN([PTHREADS_ASSIGN_VARS],[
28 +if test "$pthreads_assign_done" != "yes" ; then
29 if test -n "$ac_cv_pthreads_lib"; then
30 LIBS="$LIBS -l$ac_cv_pthreads_lib"
33 if test -n "$ac_cv_pthreads_cflags"; then
34 CFLAGS="$CFLAGS $ac_cv_pthreads_cflags"
36 +pthreads_assign_done="yes"
39 diff -burN php-5.0.4RC1.orig/TSRM/tsrm.m4 php-5.0.4RC1/TSRM/tsrm.m4
40 --- php-5.0.4RC1.orig/TSRM/tsrm.m4 2005-03-15 18:02:27.627294968 +0100
41 +++ php-5.0.4RC1/TSRM/tsrm.m4 2005-03-15 18:05:32.858135600 +0100
46 -sinclude(TSRM/threads.m4)
48 AC_DEFUN([TSRM_CHECK_PTHREADS],[
50 diff -burN php-5.0.4RC1.orig/configure.in php-5.0.4RC1/configure.in
51 --- php-5.0.4RC1.orig/configure.in 2005-03-15 18:02:27.857260008 +0100
52 +++ php-5.0.4RC1/configure.in 2005-03-15 18:05:32.858135600 +0100
55 sinclude(Zend/acinclude.m4)
56 sinclude(Zend/Zend.m4)
57 +sinclude(TSRM/threads.m4)
58 sinclude(TSRM/tsrm.m4)