summaryrefslogtreecommitdiffstats
path: root/ktalkd/ConfigureChecks.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'ktalkd/ConfigureChecks.cmake')
-rw-r--r--ktalkd/ConfigureChecks.cmake18
1 files changed, 18 insertions, 0 deletions
diff --git a/ktalkd/ConfigureChecks.cmake b/ktalkd/ConfigureChecks.cmake
new file mode 100644
index 00000000..8238322f
--- /dev/null
+++ b/ktalkd/ConfigureChecks.cmake
@@ -0,0 +1,18 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+check_include_file( sys/types.h HAVE_SYS_TYPES_H )
+check_include_file( sys/stat.h HAVE_SYS_STAT_H )
+check_include_file( sys/file.h HAVE_SYS_FILE_H )
+check_include_file( unistd.h HAVE_UNISTD_H )
+check_include_file( utmp.h HAVE_UTMP_H )
+
+check_function_exists( vsnprintf HAVE_VSNPRINTF )