0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-25 08:12:37 +01:00

configure.ac: Fix arguments to tools/buildjs.

This commit is contained in:
Jason Volk 2016-11-24 18:22:36 -08:00
parent 044259f841
commit 8895bb57c3

View file

@ -964,9 +964,15 @@ AC_HELP_STRING([--with-included-js[[[=shared]]]], [Use the JS engine (SpiderMonk
fi
js_branch="esr45"
js_options="--enable-optimize"
js_jobs="4"
bash tools/buildjs.sh $js_branch $js_options $js_jobs
if [[ $DEBUG ]]; then
js_options="--disable-optimize --enable-debug"
else
js_options="--enable-optimize"
fi
bash tools/buildjs.sh "$js_branch" "$js_options" "$js_jobs"
],[
AC_MSG_RESULT([no])
with_included_js="no"