aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-06-20 17:24:43 +0000
committerYang Tse <yangsita@gmail.com>2009-06-20 17:24:43 +0000
commit1ff4e9008b70ccf521179ad1a2438bdc93554fd4 (patch)
tree595ceb96e6f72cc8e06a314e297b23b4b29dc0d1 /configure.ac
parent2d716517a884010f06a03529a4df933a0ba49d77 (diff)
Refactor how libraries are checked for connect() function,
and check for connect() as it is done for other functions.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index c141e7bd6..97c5d73b5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -656,8 +656,7 @@ if test "$ac_cv_lib_resolve_strcasecmp" = "$ac_cv_func_strcasecmp"; then
fi
ac_cv_func_strcasecmp="no"
-dnl socket lib?
-AC_CHECK_FUNC(connect, , [ AC_CHECK_LIB(socket, connect) ])
+CURL_CHECK_LIBS_CONNECT
dnl **********************************************************************
dnl In case that function clock_gettime with monotonic timer is available,
@@ -2002,6 +2001,7 @@ CURL_CHECK_MSG_NOSIGNAL
CURL_CHECK_FUNC_ALARM
CURL_CHECK_FUNC_CLOSESOCKET
CURL_CHECK_FUNC_CLOSESOCKET_CAMEL
+CURL_CHECK_FUNC_CONNECT
CURL_CHECK_FUNC_FCNTL
CURL_CHECK_FUNC_FDOPEN
CURL_CHECK_FUNC_FREEADDRINFO