summaryrefslogtreecommitdiffstats
path: root/config.h.cmake
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-01-03 03:54:42 +0100
committerSlávek Banko <slavek.banko@axis.cz>2019-01-03 03:54:42 +0100
commit0ef4ca6d362d2a6d8a3821e2f47a7d141fbcd3a9 (patch)
tree0896cb2e2c5d4203af2b498f05d3ed2b66aaef5b /config.h.cmake
parentc2446367dbf7826bdd45ff8a943b408c1b7097d8 (diff)
downloadkpilot-0ef4ca6d362d2a6d8a3821e2f47a7d141fbcd3a9.tar.gz
kpilot-0ef4ca6d362d2a6d8a3821e2f47a7d141fbcd3a9.zip
Migration to standard TDE CMake build system.
Add common cmake module. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake51
1 files changed, 25 insertions, 26 deletions
diff --git a/config.h.cmake b/config.h.cmake
index 7d1be45..e7666d0 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -1,24 +1,26 @@
-#cmakedefine HAVE_STDINT_H
-#cmakedefine HAVE_ALLOCA_H
-#cmakedefine HAVE_SYS_TIME_H
-#cmakedefine HAVE_SYS_STAT_H
-#cmakedefine HAVE_CFSETSPEED
-#cmakedefine HAVE_STRDUP
-#cmakedefine HAVE_SETENV
-#cmakedefine HAVE_UNSETENV
-#cmakedefine HAVE_USLEEP
-#cmakedefine HAVE_RANDOM
-#cmakedefine HAVE_PUTENV
-#cmakedefine HAVE_SETEUID
-#cmakedefine HAVE_MKSTEMPS
-#cmakedefine HAVE_MKSTEMP
-#cmakedefine HAVE_MKDTEMP
-#cmakedefine HAVE_REVOKE
-#cmakedefine HAVE_STRLCPY
-#cmakedefine HAVE_STRLCAT
-#cmakedefine HAVE_INET_ATON
-
-#if !defined(HAVE_STRLCAT)
+#define VERSION "@VERSION@"
+
+// Defined if you have fvisibility and fvisibility-inlines-hidden support.
+#cmakedefine __KDE_HAVE_GCC_VISIBILITY 1
+
+/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
+ significant byte first (like Motorola and SPARC, unlike Intel). */
+#cmakedefine WORDS_BIGENDIAN @WORDS_BIGENDIAN@
+
+/* Define if you have strlcat */
+#cmakedefine HAVE_STRLCAT 1
+
+/* Define if you have the strlcat prototype */
+#cmakedefine HAVE_STRLCAT_PROTO 1
+
+/* Define if you have strlcpy */
+#cmakedefine HAVE_STRLCPY 1
+
+/* Define if you have the strlcpy prototype */
+#cmakedefine HAVE_STRLCPY_PROTO 1
+
+/* Provide strlcat prototype if missing */
+#if !defined(HAVE_STRLCAT_PROTO)
#ifdef __cplusplus
extern "C" {
#endif
@@ -28,9 +30,8 @@ unsigned long strlcat(char*, const char*, unsigned long);
#endif
#endif
-
-
-#if !defined(HAVE_STRLCPY)
+/* Provide strlcpy prototype if missing */
+#if !defined(HAVE_STRLCPY_PROTO)
#ifdef __cplusplus
extern "C" {
#endif
@@ -39,5 +40,3 @@ unsigned long strlcpy(char*, const char*, unsigned long);
}
#endif
#endif
-
-