BSDi 4.x compatibility updates (BUG #14048)
| From: | Melvyn Sopacua | Date: | Sun, 17 Mar 2002 15:57:25 +0000 |
| Subject: | BSDi 4.x compatibility updates (BUG #14048) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-81388@lists.php.net to get a copy of this message | ||
Hi,
after some digging, I've modified configure.in against PHP_4_2_0.
The patch resolves all issues mentioned in the bugreport.
I saw something fly by in configure, which checks the include type of
make, but that isn't working correctly or overridden by the hardcoded
section, so that fix should probably be looked at more closely.
INET_ATON is a modification of the code used in bind-9.2.0.
The res_search I fixed myself.
I allowed linking of INET_ATON first, then see if native is available.
With res_search I did the opposite, since it doesn't need any linking and
if INET_ATON was linked with libbind/libisc already, this still would
work.
The combination allows:
- A linked libbind/libisc which ensures functions are linked against a
locally installed nameserver. (requires shared libbind)
- Use of native functions inet_aton and res_search.
The native res_search doesn't search for an external dn_skipname, since
that's also native.
I hope you can commit this on the PHP_4_2_0 tree, cause that will make php
compile out-of-the-box and have getmxrr() capabilities on a BSDi 4.x host.
buildconf has been tested with autoconf 2.52 and libtool 1.4.
Best regards,
Melvyn Sopacua