Detect Javascript v8 on 64 bit Linux
This commit is contained in:
parent
46e5f722c3
commit
b8b61be301
1 changed files with 1 additions and 1 deletions
|
|
@ -1259,7 +1259,7 @@ else
|
||||||
AC_MSG_CHECKING(for V8 Javascript library)
|
AC_MSG_CHECKING(for V8 Javascript library)
|
||||||
AC_ARG_WITH(jsv8lib,[ --with-v8lib=path Set location of V8 Javascript library directory],[JSV8LIBDIR="$withval"], [JSV8LIB=])
|
AC_ARG_WITH(jsv8lib,[ --with-v8lib=path Set location of V8 Javascript library directory],[JSV8LIBDIR="$withval"], [JSV8LIB=])
|
||||||
|
|
||||||
v8libdirs="$JSV8LIBDIR /usr/lib/ /usr/local/lib/"
|
v8libdirs="$JSV8LIBDIR /usr/lib*/ /usr/local/lib*/"
|
||||||
for d in $v8libdirs ; do
|
for d in $v8libdirs ; do
|
||||||
if test -r $d/libv8.so; then
|
if test -r $d/libv8.so; then
|
||||||
JSV8LIBDIR=$d
|
JSV8LIBDIR=$d
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue