]> source.dussan.org Git - tigervnc.git/commitdiff
Remove HAVE_INET_ATON as nothing uses it
authorPierre Ossman <ossman@cendio.se>
Tue, 17 Mar 2015 12:51:55 +0000 (13:51 +0100)
committerPierre Ossman <ossman@cendio.se>
Tue, 17 Mar 2015 16:18:50 +0000 (17:18 +0100)
CMakeLists.txt
config.h.in

index bb0a778a7c1ad07c16273e65964403a4f2600b38..eb4014a1840da317a9b632091fedaa96118ca251 100644 (file)
@@ -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()
index ae9ace02599972da0ea57b319a74c3d624ab7476..753742ce6d89f929809d6d755f83fb6e6ecd0f24 100644 (file)
@@ -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