aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2015-03-17 13:51:55 +0100
committerPierre Ossman <ossman@cendio.se>2015-03-17 17:18:50 +0100
commita08a8436a95161b6f732601d77340f029ee8bf08 (patch)
treec8e4463f0d1204ce05581b7d91f02fc58de9d038
parent5b90c5fbf7d21d745a7c7ccae0c17e5380912d1e (diff)
downloadtigervnc-a08a8436a95161b6f732601d77340f029ee8bf08.tar.gz
tigervnc-a08a8436a95161b6f732601d77340f029ee8bf08.zip
Remove HAVE_INET_ATON as nothing uses it
-rw-r--r--CMakeLists.txt2
-rw-r--r--config.h.in1
2 files changed, 0 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bb0a778a..eb4014a1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -255,13 +255,11 @@ set(HAVE_PAM ${ENABLE_PAM})
# Check for socket functions
if(WIN32)
# check_function_exists() cannot handle stdcall, so just define things
- set(HAVE_INET_ATON 1)
set(HAVE_GETADDRINFO 1)
else()
if(${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
set(CMAKE_REQUIRED_LIBRARIES socket)
endif()
- check_function_exists(inet_aton HAVE_INET_ATON)
check_function_exists(getaddrinfo HAVE_GETADDRINFO)
set(CMAKE_REQUIRED_LIBRARIES)
endif()
diff --git a/config.h.in b/config.h.in
index ae9ace02..753742ce 100644
--- a/config.h.in
+++ b/config.h.in
@@ -1,7 +1,6 @@
#define PACKAGE_NAME "@CMAKE_PROJECT_NAME@"
#define PACKAGE_VERSION "@VERSION@"
-#cmakedefine HAVE_INET_ATON
#cmakedefine HAVE_GETADDRINFO
#cmakedefine HAVE_ACTIVE_DESKTOP_H
#cmakedefine HAVE_ACTIVE_DESKTOP_L