of a multibyte character). (Moriyoshi)
- Fixed bug #49528 (UTF-16 strings prefixed by BOMs wrongly converted).
(Moriyoshi)
+- Fixed bug #49332 (Build error with Snow Leopard). (Scott)
- Fixed bug #48805 (IPv6 socket transport is not working). (Ilia)
- Fixed bug #48764 (PDO_pgsql::query() always uses implicit prepared statements
if v3 proto available). (Matteo, Mark Kirkwood)
CPPFLAGS="$CPPFLAGS -no-cpp-precomp"
fi
fi
- AC_DEFINE(BIND_8_COMPAT, 1, [Enabling BIND8 compatibility for Panther])
+
+ macosx_major=`sw_vers -productVersion | cut -d . -f 1`
+ macosx_minor=`sw_vers -productVersion | cut -d . -f 2`
+
+ if test "$macosx_major" -ge "10" && test "$macosx_minor" -lt "6" ; then
+ AC_DEFINE(BIND_8_COMPAT, 1, [Enabling BIND8 compatibility for Panther])
+ fi
+
php_multiple_shlib_versions_ok=yes
;;
*beos*)
netinet/in.h \
alloca.h \
arpa/inet.h \
+arpa/nameser_compat.h \
arpa/nameser.h \
assert.h \
crypt.h \
PHP_CHECK_FUNC(res_nsend, resolv, bind, socket)
PHP_CHECK_FUNC(dn_expand, resolv, bind, socket)
+dnl OSX has the dns functions in libc but remaps them in resolv.h for bind so linking fails
+case $host_alias in
+ *darwin*)
+ macosx_major=`sw_vers -productVersion | cut -d . -f 1`
+ macosx_minor=`sw_vers -productVersion | cut -d . -f 2`
+
+ if test "$macosx_major" -ge "10" && test "$macosx_minor" -ge "6" ; then
+ LIBS="$LIBS -lresolv"
+ fi
+ ;;
+esac
+
dnl
dnl Check if atof() accepts NAN
dnl
#undef STATUS
#undef T_UNSPEC
#endif
+#if HAVE_ARPA_NAMESER_COMPAT_H
+#include <arpa/nameser_compat.h>
+#endif
#if HAVE_ARPA_NAMESER_H
#include <arpa/nameser.h>
#endif