1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-20 00:15:31 +00:00

[meson] More configuration conflict checks

This commit is contained in:
Witold Filipczyk 2023-11-21 15:27:17 +01:00
parent 4495873d39
commit f90d7063ab

View File

@ -120,6 +120,18 @@ if conf_data.get('CONFIG_SCRIPTING_SPIDERMONKEY') and conf_data.get('CONFIG_MUJS
error('mujs and sm-scripting cannot be both enabled')
endif
if conf_data.get('CONFIG_ECMASCRIPT_SMJS') and conf_data.get('CONFIG_QUICKJS')
error('quickjs and spidermonkey cannot be both enabled')
endif
if conf_data.get('CONFIG_ECMASCRIPT_SMJS') and conf_data.get('CONFIG_MUJS')
error('mujs and spidermonkey cannot be both enabled')
endif
if conf_data.get('CONFIG_QUICKJS') and conf_data.get('CONFIG_MUJS')
error('mujs and quickjs cannot be both enabled')
endif
conf_data.set('CONFIG_ECMASCRIPT_SMJS_HEARTBEAT', true)
conf_data.set('CONFIG_SCRIPTING', true)