diff options
author | Slávek Banko <[email protected]> | 2019-01-03 03:54:42 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2019-01-03 04:32:19 +0100 |
commit | 7d4da1a03dce87c2292283c70efea49b534ecd42 (patch) | |
tree | 15587e076cd16e365adc863a39997381171826ea /config.h.cmake | |
parent | 6d8083e2a680f398426332649fa58ef6062d5d82 (diff) | |
download | kpilot-7d4da1a03dce87c2292283c70efea49b534ecd42.tar.gz kpilot-7d4da1a03dce87c2292283c70efea49b534ecd42.zip |
Migration to standard TDE CMake build system.
Add common cmake module.
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit 0ef4ca6d362d2a6d8a3821e2f47a7d141fbcd3a9)
Diffstat (limited to 'config.h.cmake')
-rw-r--r-- | config.h.cmake | 51 |
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 - - |