if test "$ac_cv_func_dlopen" = "yes"; then
--- php-5.2.0/acinclude.m4.orig 2006-12-22 21:52:13.766461055 +0100
+++ php-5.2.0/acinclude.m4 2006-12-22 21:52:37.159794165 +0100
if test "$ac_cv_func_dlopen" = "yes"; then
--- php-5.2.0/acinclude.m4.orig 2006-12-22 21:52:13.766461055 +0100
+++ php-5.2.0/acinclude.m4 2006-12-22 21:52:37.159794165 +0100
dnl Wrapper for AC_CHECK_LIB
dnl
AC_DEFUN([PHP_CHECK_LIBRARY], [
- save_old_LDFLAGS=$LDFLAGS
+ save_old_LIBS=$LIBS
ac_stuff="$5"
dnl Wrapper for AC_CHECK_LIB
dnl
AC_DEFUN([PHP_CHECK_LIBRARY], [
- save_old_LDFLAGS=$LDFLAGS
+ save_old_LIBS=$LIBS
ac_stuff="$5"
save_ext_shared=$ext_shared
ext_shared=yes
- PHP_EVAL_LIBLINE([$]ac_stuff, LDFLAGS)
save_ext_shared=$ext_shared
ext_shared=yes
- PHP_EVAL_LIBLINE([$]ac_stuff, LDFLAGS)