diff options
author | Pierre Ossman <ossman@cendio.se> | 2012-12-13 13:56:28 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2012-12-13 13:56:28 +0000 |
commit | 32c46228f5e6d2e0c4bf1701bd36aeb0b89f4f32 (patch) | |
tree | a744fb57b2ea96d3b7be8ffbac89fe0ed641f652 | |
parent | 8b6aa200ce8096ccab2ca4365e22231805fdf4fc (diff) | |
download | tigervnc-32c46228f5e6d2e0c4bf1701bd36aeb0b89f4f32.tar.gz tigervnc-32c46228f5e6d2e0c4bf1701bd36aeb0b89f4f32.zip |
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
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rw-r--r-- | config.h.in | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ea91f7a9..58753fbd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/config.h.in b/config.h.in index 0d209521..ec2aed90 100644 --- a/config.h.in +++ b/config.h.in @@ -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 |