mirror of
https://github.com/phpv8/v8js.git
synced 2024-11-08 14:48:40 +00:00
Allow manual path assignments still match a {lib,include} pattern
This commit is contained in:
parent
66d155679b
commit
32aa91305d
@ -28,11 +28,19 @@ if test "$PHP_V8JS" != "no"; then
|
||||
AC_MSG_RESULT(found in $i)
|
||||
fi
|
||||
|
||||
# Debian installations
|
||||
if test -r $i/$PHP_LIBDIR/$ARCH-linux-gnu/$SEARCH_FOR; then
|
||||
V8_INCLUDE_DIR=$i/include/v8
|
||||
V8_LIBRARY_DIR=$i/$PHP_LIBDIR/$ARCH-linux-gnu
|
||||
AC_MSG_RESULT(found in $i)
|
||||
fi
|
||||
|
||||
# Manual installations
|
||||
if test -r $i/$PHP_LIBDIR/$SEARCH_FOR && test -r $i/include/libplatform/libplatform.h; then
|
||||
V8_INCLUDE_DIR=$i/include
|
||||
V8_LIBRARY_DIR=$i/$PHP_LIBDIR
|
||||
AC_MSG_RESULT(found in $i)
|
||||
fi
|
||||
done
|
||||
|
||||
AC_DEFINE_UNQUOTED([PHP_V8_EXEC_PATH], "$V8_LIBRARY_DIR/$SEARCH_FOR", [Full path to libv8 library file])
|
||||
|
Loading…
Reference in New Issue
Block a user