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 be6e1a8

Browse files
Add opinionated checks for installations on debian 12 and different architectures
1 parent c01f24f commit be6e1a8

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
@@ -18,12 +18,20 @@ if test "$PHP_V8JS" != "no"; then
1818
V8_LIBRARY_DIR=$PHP_V8JS/$PHP_LIBDIR
1919
else
2020
AC_MSG_CHECKING([for V8 files in default path])
21+
ARCH=$(uname -m)
22+
2123
for i in $SEARCH_PATH ; do
2224
if test -r $i/$PHP_LIBDIR/$SEARCH_FOR; then
2325
V8_INCLUDE_DIR=$i/include/v8
2426
V8_LIBRARY_DIR=$i/$PHP_LIBDIR
2527
AC_MSG_RESULT(found in $i)
2628
fi
29+
30+
if test -r $i/$PHP_LIBDIR/$ARCH-linux-gnu/$SEARCH_FOR; then
31+
V8_INCLUDE_DIR=$i/include/v8
32+
V8_LIBRARY_DIR=$i/$PHP_LIBDIR/$ARCH-linux-gnu
33+
AC_MSG_RESULT(found in $i)
34+
fi
2735
done
2836
fi
2937

0 commit comments

Comments
(0)

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