summaryrefslogtreecommitdiff
path: root/src/lib/efl/config.h.cmake
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>2017-01-21 22:12:42 +0100
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>2017-01-23 18:23:40 +0100
commit6c87f62b90b1edd12087b7bdce78883b5d52c5e9 (patch)
tree31862c522d83b734e51145e85932c6ab0efc393b /src/lib/efl/config.h.cmake
parent23dddf8e1ce0d0ff14f15e2be0da8c9893f5e360 (diff)
build: make eina working
This brings in the checks for all the headers and function that are required in eina. With this commit only a few other checks are missing. This is NOT tested on windows or mac os i can just verify that it runs here on a arch linux system.
Diffstat (limited to 'src/lib/efl/config.h.cmake')
-rw-r--r--src/lib/efl/config.h.cmake18
1 files changed, 15 insertions, 3 deletions
diff --git a/src/lib/efl/config.h.cmake b/src/lib/efl/config.h.cmake
index 7b26ea35ca..2331f4ba5a 100644
--- a/src/lib/efl/config.h.cmake
+++ b/src/lib/efl/config.h.cmake
@@ -2,7 +2,8 @@
2#define CONFIG_H 2#define CONFIG_H
3 3
4#define _GNU_SOURCE 4#define _GNU_SOURCE
5#cmakedefine HAVE_SYS_MMAN_H 1 5
6#include "config_headers.h"
6 7
7#define VMAJ @VMAJ@ 8#define VMAJ @VMAJ@
8#define VMIN @VMIN@ 9#define VMIN @VMIN@
@@ -10,13 +11,24 @@
10#define VREV @VREV@ 11#define VREV @VREV@
11 12
12#cmakedefine NVALGRIND 1 13#cmakedefine NVALGRIND 1
13#cmakedefine HAVE_CLOCK_GETTIME 1
14 14
15#cmakedefine EINA_STATIC_BUILD_CHAINED_POOL 1 15#cmakedefine EINA_STATIC_BUILD_CHAINED_POOL 1
16#cmakedefine EINA_STATIC_BUILD_ONE_BIG 1 16#cmakedefine EINA_STATIC_BUILD_ONE_BIG 1
17#cmakedefine EINA_STATIC_BUILD_PASS_THROUGH 1 17#cmakedefine EINA_STATIC_BUILD_PASS_THROUGH 1
18 18
19#define MODULE_ARCH "@MODULE_ARCH@" 19#define MODULE_ARCH "@MODULE_ARCH@"
20#define SHARED_LIB_SUFFIX "bla" 20#define SHARED_LIB_SUFFIX "@SHARED_LIB_SUFFIX@"
21
22#if defined (HAVE_LISTXATTR) && defined (HAVE_SETXATTR) && defined (HAVE_GETXATTR)
23#define HAVE_XATTR
24#endif
25
26//for now statically define that to one
27#define STRERROR_R_CHAR_P 1
28
29#cmakedefine EFL_ALWAYS_INLINE @EFL_ALWAYS_INLINE@
30#cmakedefine EFL_HAVE_OSX_SPINLOCK 1
31#cmakedefine EFL_HAVE_POSIX_THREADS_SPINLOCK 1
32#cmakedefine EFL_HAVE_THREADS 1
21 33
22#endif 34#endif