summaryrefslogtreecommitdiffstats
path: root/krfb
diff options
context:
space:
mode:
Diffstat (limited to 'krfb')
-rw-r--r--krfb/ConfigureChecks.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/krfb/ConfigureChecks.cmake b/krfb/ConfigureChecks.cmake
index 9e24956f..0973a0e6 100644
--- a/krfb/ConfigureChecks.cmake
+++ b/krfb/ConfigureChecks.cmake
@@ -13,3 +13,14 @@ pkg_search_module( XTST xtst )
if( NOT XTST_FOUND )
tde_message_fatal( "xtst is required, but was not found on your system" )
endif( )
+
+check_function_exists( getnameinfo HAVE_GETNAMEINFO )
+check_function_exists( getifaddrs HAVE_GETIFADDRS )
+check_include_file( sys/sockio.h HAVE_SYS_SOCKIO_H )
+
+check_struct_has_member(
+ "struct sockaddr" sa_len
+ "sys/types.h;sys/socket.h;netinet/in.h"
+ HAVE_STRUCT_SOCKADDR_SA_LEN
+)
+