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
This commit is contained in:
parent
f8aa44eef7
commit
3edf75c319
|
@ -194,6 +194,10 @@ if (cc.has_header('sys/mman.h'))
|
||||||
config_h.set10('HAVE_MMAN_H', true)
|
config_h.set10('HAVE_MMAN_H', true)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if config_h.has('HAVE_LISTXATTR') and config_h.has('HAVE_SETXATTR') and config_h.has('HAVE_GETXATTR')
|
||||||
|
config_h.set10('HAVE_XATTR', true)
|
||||||
|
endif
|
||||||
|
|
||||||
regexp = []
|
regexp = []
|
||||||
if sys_windows == true
|
if sys_windows == true
|
||||||
regexp = cc.find_library('regex',
|
regexp = cc.find_library('regex',
|
||||||
|
|
|
@ -225,6 +225,11 @@ elif (get_option('crypto') == 'openssl')
|
||||||
config_h.set('HAVE_OPENSSL', '1')
|
config_h.set('HAVE_OPENSSL', '1')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if get_option('crypto') != ''
|
||||||
|
config_h.set('HAVE_CIPHER', '1')
|
||||||
|
config_h.set('HAVE_SIGNATURE', '1')
|
||||||
|
endif
|
||||||
|
|
||||||
config_h.set_quoted('SHARED_LIB_SUFFIX', '.'+sys_lib_extension)
|
config_h.set_quoted('SHARED_LIB_SUFFIX', '.'+sys_lib_extension)
|
||||||
config_h.set_quoted('MOD_SUFFIX', '.'+sys_mod_extension)
|
config_h.set_quoted('MOD_SUFFIX', '.'+sys_mod_extension)
|
||||||
config_h.set_quoted('EXE_SUFFIX', '.'+sys_exe_extension)
|
config_h.set_quoted('EXE_SUFFIX', '.'+sys_exe_extension)
|
||||||
|
|
|
@ -44,3 +44,5 @@ if get_option('vnc-server')
|
||||||
|
|
||||||
subdir(join_paths('vnc_server'))
|
subdir(join_paths('vnc_server'))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
config_h.set('BUILD_ECORE_EVAS_EWS', '1')
|
||||||
|
|
Loading…
Reference in New Issue