mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
MFH: fix #41455 (ext/dba/config.m4 pollutes global $LIBS and $LDFLAGS)
This commit is contained in:
parent
23409a4bbf
commit
007bac315d
2
NEWS
2
NEWS
@ -19,6 +19,8 @@ PHP NEWS
|
||||
- Fixed altering $this via argument named "this". (Dmitry)
|
||||
- Fixed PHP CLI to use the php.ini from the binary location. (Hannes)
|
||||
- Fixed segfault in strripos(). (Tony, Joxean Koret)
|
||||
- Fixed bug #41455 (ext/dba/config.m4 pollutes global $LIBS and $LDFLAGS).
|
||||
(mmarek at suse dot cz, Tony)
|
||||
- Fixed bug #41430 (Fatal error with negative values of maxlen parameter of
|
||||
file_get_contents()). (Tony)
|
||||
- fixed bug #41423 (PHP assumes wrongly that certain ciphers are enabled in
|
||||
|
@ -172,6 +172,7 @@ dnl parameters(version, library list, function)
|
||||
AC_DEFUN([PHP_DBA_DB_CHECK],[
|
||||
for LIB in $2; do
|
||||
if test -f $THIS_PREFIX/$PHP_LIBDIR/lib$LIB.a || test -f $THIS_PREFIX/$PHP_LIBDIR/lib$LIB.$SHLIB_SUFFIX_NAME; then
|
||||
lib_found="";
|
||||
PHP_TEMP_LDFLAGS(-L$THIS_PREFIX/$PHP_LIBDIR, -l$LIB,[
|
||||
AC_TRY_LINK([
|
||||
#include "$THIS_INCLUDE"
|
||||
@ -185,10 +186,14 @@ AC_DEFUN([PHP_DBA_DB_CHECK],[
|
||||
#endif
|
||||
],[
|
||||
THIS_LIBS=$LIB
|
||||
break
|
||||
lib_found=1
|
||||
])
|
||||
])
|
||||
])
|
||||
if test -n "$lib_found"; then
|
||||
lib_found="";
|
||||
break;
|
||||
fi
|
||||
fi
|
||||
done
|
||||
if test -z "$THIS_LIBS"; then
|
||||
|
Loading…
Reference in New Issue
Block a user