[Javascript] Look for "nodejs" as well as "node", as it's packaged
as the former on Debian.
This commit is contained in:
parent
b3bedc210c
commit
22b72d5da3
2 changed files with 5 additions and 1 deletions
|
|
@ -5,6 +5,10 @@ See the RELEASENOTES file for a summary of changes in each release.
|
|||
Version 3.0.9 (in progress)
|
||||
===========================
|
||||
|
||||
2016-01-12: olly
|
||||
[Javascript] Look for "nodejs" as well as "node", as it's packaged
|
||||
as the former on Debian.
|
||||
|
||||
2016-01-12: olly
|
||||
[Javascript] For v8 >= 4.3.0, use V8_MAJOR_VERSION.
|
||||
Fixes https://github.com/swig/swig/issues/561.
|
||||
|
|
|
|||
|
|
@ -1422,7 +1422,7 @@ else
|
|||
# Look for Node.js which is the default Javascript engine
|
||||
#----------------------------------------------------------------
|
||||
|
||||
AC_CHECK_PROGS(NODEJS, node)
|
||||
AC_CHECK_PROGS(NODEJS, [nodejs node])
|
||||
|
||||
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