summaryrefslogtreecommitdiff
path: root/ext/standard/config.m4
diff options
context:
space:
mode:
authorScott MacVicar <scottmac@php.net>2009-01-11 23:37:16 +0000
committerScott MacVicar <scottmac@php.net>2009-01-11 23:37:16 +0000
commit8911ba1c629ed804fae315dbaf9e8805ceb63700 (patch)
treeef5c895b648ec3066ead1694b7eb8b170364571a /ext/standard/config.m4
parentcc50663b56a5094f9946e81f8a3827f2b046acdc (diff)
downloadphp-git-8911ba1c629ed804fae315dbaf9e8805ceb63700.tar.gz
Add support for the older style bind 8 functions, this adds support for OS X to use all of the dns_* functions.
Diffstat (limited to 'ext/standard/config.m4')
-rw-r--r--ext/standard/config.m410
1 files changed, 10 insertions, 0 deletions
diff --git a/ext/standard/config.m4 b/ext/standard/config.m4
index 50bd1dc7af..042e1ccd6b 100644
--- a/ext/standard/config.m4
+++ b/ext/standard/config.m4
@@ -251,7 +251,17 @@ dnl ext/standard/dns.h will collect these in a single define: HAVE_DNS_FUNCS
dnl
PHP_CHECK_FUNC(res_nmkquery, resolv, bind, socket)
PHP_CHECK_FUNC(res_nsend, resolv, bind, socket)
+PHP_CHECK_FUNC(res_search, resolv, bind, socket)
PHP_CHECK_FUNC(dn_expand, resolv, bind, socket)
+PHP_CHECK_FUNC(dn_skipname, resolv, bind, socket)
+
+dnl
+dnl These are old deprecated functions, a single define of HAVE_DEPRECATED_DNS_FUNCS
+dnl will be set in ext/standard/dns.h
+dnl
+
+PHP_CHECK_FUNC(res_mkquery, resolv, bind, socket)
+PHP_CHECK_FUNC(res_send, resolv, bind, socket)
dnl
dnl Check if atof() accepts NAN