Add check to skip javascript test-suite if default interpreter is not installed.
This commit is contained in:
parent
0e0ac02192
commit
fe10555229
1 changed files with 10 additions and 0 deletions
10
configure.ac
10
configure.ac
|
|
@ -1128,6 +1128,13 @@ else
|
|||
;;
|
||||
esac
|
||||
|
||||
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# Look for Node.js which is the default javascript engine
|
||||
# without it, the javascript test-suite will be skipped
|
||||
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
AC_CHECK_PROGS(NODEJS, node)
|
||||
|
||||
#----------------------------------------------------------------
|
||||
# Look for JavascriptCore (Webkit) settings (JSCOREINCDIR, JSCOREDYNAMICLINKING)
|
||||
#----------------------------------------------------------------
|
||||
|
|
@ -2455,6 +2462,9 @@ fi
|
|||
AC_SUBST(SKIP_JAVA)
|
||||
|
||||
SKIP_JAVASCRIPT=
|
||||
if test -z "$JAVASCRIPT" || test -z "$NODEJS"; then
|
||||
SKIP_JAVASCRIPT="1"
|
||||
fi
|
||||
AC_SUBST(SKIP_JAVASCRIPT)
|
||||
|
||||
SKIP_GUILE=
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue