summaryrefslogtreecommitdiffstats
path: root/ktalkd/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-19 21:04:17 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-19 21:04:17 +0000
commit4c7e54787a593c1bd8f30427720df86f40b751b1 (patch)
tree7d7a47582c08d7a65a5b9a272660a96036eb4fc6 /ktalkd/ConfigureChecks.cmake
parent5ab9dadace563042784f58bc7398543869c1c0b9 (diff)
downloadtdenetwork-4c7e54787a593c1bd8f30427720df86f40b751b1.tar.gz
tdenetwork-4c7e54787a593c1bd8f30427720df86f40b751b1.zip
[kdenetwork/ktalkd] added cmake support
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1254535 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 )