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"