]> TLD Linux GIT Repositories - packages/php.git/blob - php-link-libs.patch
- PHP_5_4 branch from PLD
[packages/php.git] / php-link-libs.patch
1 --- php-4.3.0/configure.in.orig Fri Dec 27 05:07:18 2002
2 +++ php-4.3.0/configure.in      Thu Jan  2 20:34:43 2003
3 @@ -288,7 +288,6 @@
4  PHP_CHECK_FUNC(htonl, socket)
5  PHP_CHECK_FUNC(gethostname, nsl)
6  PHP_CHECK_FUNC(gethostbyaddr, nsl)
7 -PHP_CHECK_FUNC(yp_get_default_domain, nsl)
8  
9  PHP_CHECK_FUNC(dlopen, dl)
10  if test "$ac_cv_func_dlopen" = "yes"; then
11 --- php-5.2.0/acinclude.m4.orig 2006-12-22 21:52:13.766461055 +0100
12 +++ php-5.2.0/acinclude.m4      2006-12-22 21:52:37.159794165 +0100
13 @@ -1740,18 +1740,18 @@
14  dnl Wrapper for AC_CHECK_LIB
15  dnl
16  AC_DEFUN([PHP_CHECK_LIBRARY], [
17 -  save_old_LDFLAGS=$LDFLAGS
18 +  save_old_LIBS=$LIBS
19    ac_stuff="$5"
20    
21    save_ext_shared=$ext_shared
22    ext_shared=yes
23 -  PHP_EVAL_LIBLINE([$]ac_stuff, LDFLAGS)
24 +  PHP_EVAL_LIBLINE([$]ac_stuff, LIBS)
25    AC_CHECK_LIB([$1],[$2],[
26 -    LDFLAGS=$save_old_LDFLAGS
27 +    LIBS=$save_old_LIBS
28      ext_shared=$save_ext_shared
29      $3
30    ],[
31 -    LDFLAGS=$save_old_LDFLAGS
32 +    LIBS=$save_old_LIBS
33      ext_shared=$save_ext_shared
34      unset ac_cv_lib_$1[]_$2
35      $4