]> git.pld-linux.org Git - packages/php.git/blob - php-link-libs.patch
up to 7.4.0alpha3
[packages/php.git] / php-link-libs.patch
1 --- php-4.3.0/configure.ac.orig Fri Dec 27 05:07:18 2002
2 +++ php-4.3.0/configure.ac      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-7.3.0beta3/build/php.m4~        2018-08-28 13:26:36.000000000 +0300
12 +++ php-7.3.0beta3/build/php.m4 2018-09-05 18:56:49.744106256 +0300
13 @@ -1829,18 +1829,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
This page took 0.023025 seconds and 3 git commands to generate.