- Fixed bug #31256 (PHP_EVAL_LIBLINE configure macro does not handle -pthread)

This commit is contained in:
foobar 2005-06-13 08:44:47 +00:00
parent e6dcba6052
commit 54d85cbfda
2 changed files with 12 additions and 5 deletions

10
NEWS
View File

@ -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)

View File

@ -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)