summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJongmin Lee <jm105.lee@samsung.com>2019-06-27 08:26:55 +0000
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-06-27 15:51:25 +0200
commit3edf75c319c47df598efd55aa6771d8d58c52bb4 (patch)
treed1ed8471bb543d4b2150963b9eeae6d8070d3eaf
parentf8aa44eef72c6e9fdf9e1a4848614243cbe09f53 (diff)
meson: add some config definitions
Some config definitions used in source code could not be defined during build config process. - HAVE_XATTR - HAVE_CIPHER - HAVE_SIGNATURE - BUILD_ECORE_EVAS_EWS Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Reviewed-by: Vincent Torri <vincent.torri@gmail.com> Differential Revision: https://phab.enlightenment.org/D9192
Diffstat (limited to '')
-rw-r--r--header_checks/meson.build4
-rw-r--r--meson.build5
-rw-r--r--src/modules/ecore_evas/meson.build2
3 files changed, 11 insertions, 0 deletions
diff --git a/header_checks/meson.build b/header_checks/meson.build
index 8ead497882..21545607b8 100644
--- a/header_checks/meson.build
+++ b/header_checks/meson.build
@@ -194,6 +194,10 @@ if (cc.has_header('sys/mman.h'))
194 config_h.set10('HAVE_MMAN_H', true) 194 config_h.set10('HAVE_MMAN_H', true)
195endif 195endif
196 196
197if config_h.has('HAVE_LISTXATTR') and config_h.has('HAVE_SETXATTR') and config_h.has('HAVE_GETXATTR')
198 config_h.set10('HAVE_XATTR', true)
199endif
200
197regexp = [] 201regexp = []
198if sys_windows == true 202if sys_windows == true
199 regexp = cc.find_library('regex', 203 regexp = cc.find_library('regex',
diff --git a/meson.build b/meson.build
index 96b33180ed..a6febe01d0 100644
--- a/meson.build
+++ b/meson.build
@@ -225,6 +225,11 @@ elif (get_option('crypto') == 'openssl')
225 config_h.set('HAVE_OPENSSL', '1') 225 config_h.set('HAVE_OPENSSL', '1')
226endif 226endif
227 227
228if get_option('crypto') != ''
229 config_h.set('HAVE_CIPHER', '1')
230 config_h.set('HAVE_SIGNATURE', '1')
231endif
232
228config_h.set_quoted('SHARED_LIB_SUFFIX', '.'+sys_lib_extension) 233config_h.set_quoted('SHARED_LIB_SUFFIX', '.'+sys_lib_extension)
229config_h.set_quoted('MOD_SUFFIX', '.'+sys_mod_extension) 234config_h.set_quoted('MOD_SUFFIX', '.'+sys_mod_extension)
230config_h.set_quoted('EXE_SUFFIX', '.'+sys_exe_extension) 235config_h.set_quoted('EXE_SUFFIX', '.'+sys_exe_extension)
diff --git a/src/modules/ecore_evas/meson.build b/src/modules/ecore_evas/meson.build
index 7a9d6979da..78a9b35d13 100644
--- a/src/modules/ecore_evas/meson.build
+++ b/src/modules/ecore_evas/meson.build
@@ -44,3 +44,5 @@ if get_option('vnc-server')
44 44
45 subdir(join_paths('vnc_server')) 45 subdir(join_paths('vnc_server'))
46endif 46endif
47
48config_h.set('BUILD_ECORE_EVAS_EWS', '1')