Skip to content

Commit 1c4a2b9

Browse files
committed
Merge branch 'patch-autoconf-ac-lang' of https://github.com/petk/v8js into issue-374
2 parents e2986ea + 06234e5 commit 1c4a2b9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

config.m4

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ if test "$PHP_V8JS" != "no"; then
8383
old_LDFLAGS=$LDFLAGS
8484
old_CPPFLAGS=$CPPFLAGS
8585

86-
AC_LANG_SAVE
87-
AC_LANG_CPLUSPLUS
86+
AC_LANG_PUSH([C++])
8887

8988
CPPFLAGS="$CPPFLAGS -I$V8_DIR/include -std=$ac_cv_v8_cstd"
9089
LDFLAGS="$LDFLAGS -L$V8_DIR/$PHP_LIBDIR"
@@ -197,7 +196,7 @@ int main ()
197196
[Define unless v8::ArrayBuffer::Allocator::NewDefaultAllocator is usable.])
198197
fi
199198

200-
AC_LANG_RESTORE
199+
AC_LANG_POP([C++])
201200
LIBS=$old_LIBS
202201
LDFLAGS="$old_LDFLAGS"
203202
CPPFLAGS=$old_CPPFLAGS

0 commit comments

Comments
 (0)