1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-02-02 15:09:23 -05:00

[meson] -Dgettext=true requires -Dnls=true

This commit is contained in:
Witold Filipczyk 2024-12-30 09:54:15 +01:00
parent 1f2929fa04
commit 806f95bd46

View File

@ -112,6 +112,10 @@ else
conf_data.set('CONFIG_ECMASCRIPT', false)
endif
if conf_data.get('CONFIG_GETTEXT') and not conf_data.get('CONFIG_NLS')
error('nls must be enabled too')
endif
if conf_data.get('CONFIG_SCRIPTING_SPIDERMONKEY') and not conf_data.get('CONFIG_ECMASCRIPT_SMJS')
error('spidermonkey must be enabled too')
endif