mirror of
https://github.com/phpv8/v8js.git
synced 2024-12-22 07:01:52 +00:00
Merge branch 'patch-autoconf-ac-lang' of https://github.com/petk/v8js into issue-374
This commit is contained in:
commit
1c4a2b9a8c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user