We forgot to port over the getaddrinfo() test from the autoconf
conversion. Bug discovered by Radek Podgorny.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5019 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ea91f7a..58753fb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -359,6 +359,7 @@
endif()
check_function_exists(inet_aton HAVE_INET_ATON)
check_function_exists(inet_ntop HAVE_INET_NTOP)
+check_function_exists(getaddrinfo HAVE_GETADDRINFO)
check_type_size(socklen_t SOCKLEN_T)
set(CMAKE_EXTRA_INCLUDE_FILES)
set(CMAKE_REQUIRED_LIBRARIES)