aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-07-03 15:32:12 +0000
committerYang Tse <yangsita@gmail.com>2006-07-03 15:32:12 +0000
commitbec1977137fcb279686212279e2830db11cd0759 (patch)
tree56bbe999bb175952c689d0b496f6f25b69e70ec3 /configure.ac
parent4c08eb4b1108892f2d9c0e6c7d64ff75d26b9f52 (diff)
Use CURL_CHECK_FUNC_GETNAMEINFO results in CURL_CHECK_NI_WITHSCOPEID
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
1 files changed, 5 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 54395de01..ccee1c8bd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -537,10 +537,6 @@ main()
if test "$ipv6" = "yes"; then
curl_ipv6_msg="enabled"
-
- CURL_CHECK_WORKING_GETADDRINFO
-
- CURL_CHECK_NI_WITHSCOPEID
fi
dnl **********************************************************************
@@ -1689,6 +1685,11 @@ dnl Check if the getnameinfo function is available
dnl and get the types of five of its arguments.
CURL_CHECK_FUNC_GETNAMEINFO
+if test "$ipv6" = "yes"; then
+ CURL_CHECK_WORKING_GETADDRINFO
+ CURL_CHECK_NI_WITHSCOPEID
+fi
+
AC_MSG_CHECKING([if we are Mac OS X (to disable poll)])
disable_poll=no
case $host in