mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
19 lines
450 B
Meson
19 lines
450 B
Meson
#INCLUDES += $(SPIDERMONKEY_CFLAGS)
|
|
if conf_data.get('CONFIG_ECMASCRIPT_SMJS')
|
|
subdir('spidermonkey')
|
|
srcs += files('ecmascript.c', 'spidermonkey.c')
|
|
endif
|
|
|
|
if conf_data.get('CONFIG_ECMASCRIPT_SMJS')
|
|
CONFIG_ANY_SPIDERMONKEY = true
|
|
elif conf_data.get('CONFIG_SCRIPTING_SPIDERMONKEY')
|
|
CONFIG_ANY_SPIDERMONKEY = true
|
|
else
|
|
CONFIG_ANY_SPIDERMONKEY = false
|
|
endif
|
|
|
|
if CONFIG_ANY_SPIDERMONKEY
|
|
srcs += files('spidermonkey-shared.c', 'empty.cpp')
|
|
endif
|
|
|