From 9406d93e77e7923e2788e43df50cf3a577f1c42b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 21 May 2019 10:06:06 +0200 Subject: configure: detect getsockname and getpeername on windows too Made detection macros for these two functions in the same style as other functions possibly in winsock in the hope this will work better to detect these functions when cross-compiling for Windows. Follow-up to e91e4816123 Fixes #3913 Closes #3915 --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 13e8e297b..3e45b5151 100755 --- a/configure.ac +++ b/configure.ac @@ -3719,6 +3719,8 @@ CURL_CHECK_FUNC_GETHOSTBYADDR_R CURL_CHECK_FUNC_GETHOSTBYNAME CURL_CHECK_FUNC_GETHOSTBYNAME_R CURL_CHECK_FUNC_GETHOSTNAME +CURL_CHECK_FUNC_GETPEERNAME +CURL_CHECK_FUNC_GETSOCKNAME CURL_CHECK_FUNC_GETIFADDRS CURL_CHECK_FUNC_GETSERVBYPORT_R CURL_CHECK_FUNC_GMTIME_R @@ -3772,8 +3774,6 @@ AC_CHECK_FUNCS([fnmatch \ getpwuid_r \ getrlimit \ gettimeofday \ - getpeername \ - getsockname \ if_nametoindex \ mach_absolute_time \ pipe \ -- cgit v1.2.3