Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 32aa913

Browse files
Allow manual path assignments still match a {lib,include} pattern
1 parent 66d1556 commit 32aa913

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

‎config.m4

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,19 @@ if test "$PHP_V8JS" != "no"; then
2828
AC_MSG_RESULT(found in $i)
2929
fi
3030

31+
# Debian installations
3132
if test -r $i/$PHP_LIBDIR/$ARCH-linux-gnu/$SEARCH_FOR; then
3233
V8_INCLUDE_DIR=$i/include/v8
3334
V8_LIBRARY_DIR=$i/$PHP_LIBDIR/$ARCH-linux-gnu
3435
AC_MSG_RESULT(found in $i)
3536
fi
37+
38+
# Manual installations
39+
if test -r $i/$PHP_LIBDIR/$SEARCH_FOR && test -r $i/include/libplatform/libplatform.h; then
40+
V8_INCLUDE_DIR=$i/include
41+
V8_LIBRARY_DIR=$i/$PHP_LIBDIR
42+
AC_MSG_RESULT(found in $i)
43+
fi
3644
done
3745

3846
AC_DEFINE_UNQUOTED([PHP_V8_EXEC_PATH], "$V8_LIBRARY_DIR/$SEARCH_FOR", [Full path to libv8 library file])

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /