Changeset View
Changeset View
Standalone View
Standalone View
meson.build
Show First 20 Lines • Show All 219 Lines • ▼ Show 20 Line(s) | 219 | if (get_option('crypto') == 'gnutls') | |||
---|---|---|---|---|---|
220 | # gcrypt does not want to provide a pkg config file so we try the lib | 220 | # gcrypt does not want to provide a pkg config file so we try the lib | ||
221 | crypto = [dependency('gnutls'), cc.find_library('gcrypt')] | 221 | crypto = [dependency('gnutls'), cc.find_library('gcrypt')] | ||
222 | config_h.set('HAVE_GNUTLS', '1') | 222 | config_h.set('HAVE_GNUTLS', '1') | ||
223 | elif (get_option('crypto') == 'openssl') | 223 | elif (get_option('crypto') == 'openssl') | ||
224 | crypto = dependency('openssl') | 224 | crypto = dependency('openssl') | ||
225 | config_h.set('HAVE_OPENSSL', '1') | 225 | config_h.set('HAVE_OPENSSL', '1') | ||
226 | endif | 226 | endif | ||
227 | 227 | | |||
228 | if get_option('crypto') != '' | ||||
229 | config_h.set('HAVE_CIPHER', '1') | ||||
230 | config_h.set('HAVE_SIGNATURE', '1') | ||||
231 | endif | ||||
232 | | ||||
228 | config_h.set_quoted('SHARED_LIB_SUFFIX', '.'+sys_lib_extension) | 233 | config_h.set_quoted('SHARED_LIB_SUFFIX', '.'+sys_lib_extension) | ||
229 | config_h.set_quoted('MOD_SUFFIX', '.'+sys_mod_extension) | 234 | config_h.set_quoted('MOD_SUFFIX', '.'+sys_mod_extension) | ||
230 | config_h.set_quoted('EXE_SUFFIX', '.'+sys_exe_extension) | 235 | config_h.set_quoted('EXE_SUFFIX', '.'+sys_exe_extension) | ||
231 | config_h.set('EFL_BUILD', '1') | 236 | config_h.set('EFL_BUILD', '1') | ||
232 | 237 | | |||
233 | if get_option('tslib') == true | 238 | if get_option('tslib') == true | ||
234 | config_h.set('HAVE_TSLIB', '1') | 239 | config_h.set('HAVE_TSLIB', '1') | ||
235 | endif | 240 | endif | ||
▲ Show 20 Lines • Show All 294 Lines • Show Last 20 Lines |