]> source.dussan.org Git - tigervnc.git/commitdiff
We forgot to port over the getaddrinfo() test from the autoconf
authorPierre Ossman <ossman@cendio.se>
Thu, 13 Dec 2012 13:56:28 +0000 (13:56 +0000)
committerPierre Ossman <ossman@cendio.se>
Thu, 13 Dec 2012 13:56:28 +0000 (13:56 +0000)
conversion. Bug discovered by Radek Podgorny.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5019 3789f03b-4d11-0410-bbf8-ca57d06f2519

CMakeLists.txt
config.h.in

index ea91f7a9f327b3fa2ef5def412c6b7825b350285..58753fbd689abc7b643a5f1dbcc8c5c12206b0e8 100644 (file)
@@ -359,6 +359,7 @@ else()
 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)
index 0d2095215983aa750d1b3fa269fa7b8f47414194..ec2aed908d69b52f726faa05359f61413fd7f929 100644 (file)
@@ -4,6 +4,7 @@
 #cmakedefine HAVE_SOCKLEN_T
 #cmakedefine HAVE_INET_ATON
 #cmakedefine HAVE_INET_NTOP
+#cmakedefine HAVE_GETADDRINFO
 #cmakedefine HAVE_SNPRINTF
 #cmakedefine HAVE_STRCASECMP
 #cmakedefine HAVE_STRNCASECMP