]> git.pld-linux.org Git - packages/php.git/blame - php-threads-acfix.patch
- added -phpize_fixes.patch - pulled out from cvs.php.net (fixes build
[packages/php.git] / php-threads-acfix.patch
CommitLineData
beeca67e
JB
1--- php-4.3.1/TSRM/threads.m4.orig Wed Feb 19 15:57:09 2003
2+++ php-4.3.1/TSRM/threads.m4 Wed Feb 19 15:57:42 2003
3@@ -108,7 +108,6 @@
4 else
5 save_CFLAGS=$CFLAGS
6 save_LIBS=$LIBS
7- PTHREADS_ASSIGN_VARS
8 PTHREADS_CHECK_COMPILE
9 LIBS=$save_LIBS
10 CFLAGS=$save_CFLAGS
11@@ -126,9 +125,10 @@
12 break
13 fi
14 done
15+ pthreads_working=
16 fi
17-fi
18 ])
19+fi
20
21 AC_CACHE_CHECK(for pthreads_lib, ac_cv_pthreads_lib,[
22 ac_cv_pthreads_lib=
23@@ -155,6 +155,7 @@
24 dnl
25 dnl
26 AC_DEFUN(PTHREADS_ASSIGN_VARS,[
27+if test "$pthreads_assign_done" != "yes" ; then
28 if test -n "$ac_cv_pthreads_lib"; then
29 LIBS="$LIBS -l$ac_cv_pthreads_lib"
30 fi
31@@ -163,4 +164,6 @@
32 if test -n "$ac_cv_pthreads_cflags"; then
33 CFLAGS="$CFLAGS $ac_cv_pthreads_cflags"
34 fi
35+pthreads_assign_done="yes"
36+fi
37 ])dnl
This page took 0.028084 seconds and 4 git commands to generate.