From 54d85cbfdadeca491478e3894707534e2c9ccd1f Mon Sep 17 00:00:00 2001 From: foobar Date: Mon, 13 Jun 2005 08:44:47 +0000 Subject: [PATCH] - Fixed bug #31256 (PHP_EVAL_LIBLINE configure macro does not handle -pthread) --- NEWS | 10 +++++----- acinclude.m4 | 7 +++++++ 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/NEWS b/NEWS index fc33253506..37f71c6ff0 100644 --- a/NEWS +++ b/NEWS @@ -1,14 +1,14 @@ PHP NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| -?? ??? 2005, PHP 5.1 -- Fixed bug #33312 (ReflectionParameter methods do not work correctly). - (Dmitry) - -11 Jun 2005, PHP 5.1 Beta 2 +?? Jun 2005, PHP 5.1 Beta 2 - Fixed PDO shutdown problem (possible inifite loop running rollback on shutdown). (Wez) - Fixed PECL bug #3714 (beginTransaction doesn't work if you're in auto-commit mode). (Wez) +- Fixed bug #33312 (ReflectionParameter methods do not work correctly). + (Dmitry) +- Fixed bug #31256 (PHP_EVAL_LIBLINE configure macro does not handle -pthread). + (Jani) 10 Jun 2005, PHP 5.1 Beta 1 - Upgraded PCRE library to version 5.0. (Andrei) diff --git a/acinclude.m4 b/acinclude.m4 index 5bb5446f9f..e190806976 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -390,6 +390,13 @@ dnl AC_DEFUN([PHP_EVAL_LIBLINE],[ for ac_i in $1; do case $ac_i in + -pthread[)] + if test "$ext_shared" = "yes"; then + $2="[$]$2 -pthread" + else + PHP_RUN_ONCE(EXTRA_LDFLAGS, [$ac_i], [EXTRA_LDFLAGS="$EXTRA_LDFLAGS $ac_i"]) + fi + ;; -l*[)] ac_ii=`echo $ac_i|cut -c 3-` PHP_ADD_LIBRARY($ac_ii,1,$2) -- 2.50.1