summaryrefslogtreecommitdiffstats
path: root/ktnef/ConfigureChecks.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'ktnef/ConfigureChecks.cmake')
-rw-r--r--ktnef/ConfigureChecks.cmake17
1 files changed, 17 insertions, 0 deletions
diff --git a/ktnef/ConfigureChecks.cmake b/ktnef/ConfigureChecks.cmake
new file mode 100644
index 000000000..3271dfc05
--- /dev/null
+++ b/ktnef/ConfigureChecks.cmake
@@ -0,0 +1,17 @@
+#################################################
+#
+# (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( inttypes.h HAVE_INTTYPES_H )
+check_include_file( stdint.h HAVE_STDINT_H )
+
+check_type_size( "unsigned long long" SIZEOF_UNSIGNED_LONG_LONG )
+check_type_size( "unsigned long" SIZEOF_UNSIGNED_LONG )
+check_type_size( "uint64_t" SIZEOF_UINT64_T )