0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-12-22 12:51:52 +00:00

Merge branch 'patch-autoconf-ac-lang' of https://github.com/petk/v8js into issue-374

This commit is contained in:
Stefan Siegl 2018-11-06 13:34:22 +01:00
commit 1c4a2b9a8c
No known key found for this signature in database
GPG Key ID: 73942AF5642F3DDA

View File

@ -83,8 +83,7 @@ if test "$PHP_V8JS" != "no"; then
old_LDFLAGS=$LDFLAGS
old_CPPFLAGS=$CPPFLAGS
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
AC_LANG_PUSH([C++])
CPPFLAGS="$CPPFLAGS -I$V8_DIR/include -std=$ac_cv_v8_cstd"
LDFLAGS="$LDFLAGS -L$V8_DIR/$PHP_LIBDIR"
@ -197,7 +196,7 @@ int main ()
[Define unless v8::ArrayBuffer::Allocator::NewDefaultAllocator is usable.])
fi
AC_LANG_RESTORE
AC_LANG_POP([C++])
LIBS=$old_LIBS
LDFLAGS="$old_LDFLAGS"
CPPFLAGS=$old_CPPFLAGS