]> git.pld-linux.org Git - packages/php.git/blob - php-link-libs.patch
- as-needed fixes
[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.org/ext/ldap/config.m4.org      2006-08-10 06:31:57.985269750 +0000
12 +++ php/ext/ldap/config.m4      2006-08-10 06:37:42.330790000 +0000
13 @@ -160,8 +160,10 @@
14    dnl Save original values
15    _SAVE_CPPFLAGS=$CPPFLAGS
16    _SAVE_LDFLAGS=$LDFLAGS
17 +  _SAVE_LIBS=$LIBS
18    CPPFLAGS="$CPPFLAGS -I$LDAP_INCDIR"
19 -  LDFLAGS="$LDFLAGS $LDAP_SHARED_LIBADD"
20 +  LDFLAGS="$LDFLAGS"
21 +  LIBS="$LIBS $LDAP_SHARED_LIBADD"
22  
23    dnl Check for 3 arg ldap_set_rebind_proc
24    AC_CACHE_CHECK([for 3 arg ldap_set_rebind_proc], ac_cv_3arg_setrebindproc,
25 @@ -192,4 +194,5 @@
26    dnl Restore original values
27    CPPFLAGS=$_SAVE_CPPFLAGS
28    LDFLAGS=$_SAVE_LDFLAGS
29 +  LIBS=$_SAVE_LIBS
30  fi 
31 --- php.org/acinclude.m4~       2006-08-10 06:39:21.000000000 +0000
32 +++ php/acinclude.m4    2006-08-10 06:58:46.933822750 +0000
33 @@ -1745,7 +1745,7 @@
34    
35    save_ext_shared=$ext_shared
36    ext_shared=yes
37 -  PHP_EVAL_LIBLINE([$]ac_stuff, LDFLAGS)
38 +  PHP_EVAL_LIBLINE([$]ac_stuff, LIBS)
39    AC_CHECK_LIB([$1],[$2],[
40      LDFLAGS=$save_old_LDFLAGS
41      ext_shared=$save_ext_shared
This page took 0.038381 seconds and 4 git commands to generate.