configure.ac: re-prioritize node.js detection.
Having 'node' taking priority over 'nodejs' make is easier to "sand-box" different node.js version by merely adjusting PATH.
This commit is contained in:
parent
5c602b0dcf
commit
f97020fb0c
1 changed files with 1 additions and 1 deletions
|
|
@ -1546,7 +1546,7 @@ else
|
|||
# Look for Node.js which is the default Javascript engine
|
||||
#----------------------------------------------------------------
|
||||
|
||||
AC_CHECK_PROGS(NODEJS, [nodejs node])
|
||||
AC_CHECK_PROGS(NODEJS, [node nodejs])
|
||||
|
||||
if test -n "$NODEJS"; then
|
||||
# node-gyp is needed to run the test-suite/examples
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue