]> git.pld-linux.org Git - packages/php.git/commitdiff
- ac fixes for pthread library detection
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 20 Feb 2003 10:35:23 +0000 (10:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-threads-acfix.patch -> 1.1

php-threads-acfix.patch [new file with mode: 0644]

diff --git a/php-threads-acfix.patch b/php-threads-acfix.patch
new file mode 100644 (file)
index 0000000..2844dd0
--- /dev/null
@@ -0,0 +1,37 @@
+--- php-4.3.1/TSRM/threads.m4.orig     Wed Feb 19 15:57:09 2003
++++ php-4.3.1/TSRM/threads.m4  Wed Feb 19 15:57:42 2003
+@@ -108,7 +108,6 @@
+ else
+   save_CFLAGS=$CFLAGS
+   save_LIBS=$LIBS
+-  PTHREADS_ASSIGN_VARS
+   PTHREADS_CHECK_COMPILE
+   LIBS=$save_LIBS
+   CFLAGS=$save_CFLAGS
+@@ -126,9 +125,10 @@
+         break
+       fi
+     done
++    pthreads_working=
+   fi
+-fi
+ ])
++fi
+ AC_CACHE_CHECK(for pthreads_lib, ac_cv_pthreads_lib,[
+ ac_cv_pthreads_lib=
+@@ -155,6 +155,7 @@
+ dnl
+ dnl
+ AC_DEFUN(PTHREADS_ASSIGN_VARS,[
++if test "$pthreads_assign_done" != "yes" ; then
+ if test -n "$ac_cv_pthreads_lib"; then
+   LIBS="$LIBS -l$ac_cv_pthreads_lib"
+ fi
+@@ -163,4 +164,6 @@
+ if test -n "$ac_cv_pthreads_cflags"; then
+   CFLAGS="$CFLAGS $ac_cv_pthreads_cflags"
+ fi
++pthreads_assign_done="yes"
++fi
+ ])dnl
This page took 0.706635 seconds and 4 git commands to generate.