]>
Commit | Line | Data |
---|---|---|
c027c256 JB |
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 | |
3edeea80 JB |
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" | |
261e3f27 AM |
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],[ | |
3edeea80 JB |
26 | - LDFLAGS=$save_old_LDFLAGS |
27 | + LIBS=$save_old_LIBS | |
261e3f27 | 28 | ext_shared=$save_ext_shared |
3edeea80 JB |
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 |