mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[meson] sm-scripting and (quickjs or mujs) cannot be both enabled. Refs #272
This commit is contained in:
parent
64343791dd
commit
67caccd017
@ -111,6 +111,15 @@ if conf_data.get('CONFIG_SCRIPTING_SPIDERMONKEY') or conf_data.get('CONFIG_ECMAS
|
|||||||
else
|
else
|
||||||
conf_data.set('CONFIG_ECMASCRIPT', false)
|
conf_data.set('CONFIG_ECMASCRIPT', false)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if conf_data.get('CONFIG_SCRIPTING_SPIDERMONKEY') and conf_data.get('CONFIG_QUICKJS')
|
||||||
|
error('quickjs and sm-scripting cannot be both enabled')
|
||||||
|
endif
|
||||||
|
|
||||||
|
if conf_data.get('CONFIG_SCRIPTING_SPIDERMONKEY') and conf_data.get('CONFIG_MUJS')
|
||||||
|
error('mujs and sm-scripting cannot be both enabled')
|
||||||
|
endif
|
||||||
|
|
||||||
conf_data.set('CONFIG_ECMASCRIPT_SMJS_HEARTBEAT', true)
|
conf_data.set('CONFIG_ECMASCRIPT_SMJS_HEARTBEAT', true)
|
||||||
|
|
||||||
conf_data.set('CONFIG_SCRIPTING', true)
|
conf_data.set('CONFIG_SCRIPTING', true)
|
||||||
|
Loading…
Reference in New Issue
Block a user